Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.0008796, allocations: 82.23 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.136e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.08931, allocations: 47.58 MB / 363.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.4375, allocations: 97.25 MB / 460.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.4378, allocations: 91.16 kB / 460.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1884/0.6262, allocations: 71.8 MB / 0.5198 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6263, allocations: 0 / 0.5198 GB, free: 11.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001471/0.6264, allocations: 72 kB / 0.5199 GB, free: 11.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009813/0.6363, allocations: 3.397 MB / 0.5232 GB, free: 8.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6363, allocations: 12.03 kB / 0.5232 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009919/0.6463, allocations: 2.085 MB / 0.5253 GB, free: 6.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.6571, allocations: 4.034 MB / 0.5292 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.6573, allocations: 112 kB / 0.5293 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.6584, allocations: 215.8 kB / 0.5295 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2481/0.9064, allocations: 5.116 MB / 0.5345 GB, free: 96.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/0.9276, allocations: 8.036 MB / 0.5424 GB, free: 94.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004348/0.928, allocations: 56.27 kB / 0.5424 GB, free: 94.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001844/0.9299, allocations: 29.06 kB / 0.5424 GB, free: 94.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002062/0.932, allocations: 0.8872 MB / 0.5433 GB, free: 94.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04229/0.9743, allocations: 41.28 MB / 0.5836 GB, free: 66.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.9772, allocations: 2.511 MB / 0.5861 GB, free: 65.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.9788, allocations: 1.392 MB / 0.5874 GB, free: 64.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/0.9795, allocations: 0.6465 MB / 0.5881 GB, free: 64.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.9795, allocations: 57.02 kB / 0.5881 GB, free: 64.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.959e-06/0.9796, allocations: 0 / 0.5881 GB, free: 64.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.02077/1, allocations: 12.27 MB / 0.6001 GB, free: 59.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1, allocations: 179 kB / 0.6003 GB, free: 58.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/1.004, allocations: 2.81 MB / 0.603 GB, free: 57.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/1.004, allocations: 26.55 kB / 0.603 GB, free: 57.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.005, allocations: 2.8 MB / 0.6058 GB, free: 55.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004288/1.006, allocations: 0.5376 MB / 0.6063 GB, free: 55.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/1.006, allocations: 0 / 0.6063 GB, free: 55.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002274/1.006, allocations: 0.5421 MB / 0.6068 GB, free: 54.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/1.008, allocations: 1.609 MB / 0.6084 GB, free: 54.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/1.011, allocations: 5.144 MB / 0.6134 GB, free: 48.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/1.014, allocations: 2.852 MB / 0.6162 GB, free: 47.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.502e-05/1.014, allocations: 39.41 kB / 0.6162 GB, free: 47.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.008564/1.023, allocations: 6.065 MB / 0.6222 GB, free: 45.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/1.023, allocations: 59.38 kB / 0.6222 GB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/1.023, allocations: 131.5 kB / 0.6223 GB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/1.024, allocations: 342.1 kB / 0.6227 GB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/1.028, allocations: 1.341 MB / 0.624 GB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/1.03, allocations: 2.201 MB / 0.6261 GB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/1.035, allocations: 188.7 kB / 0.6263 GB, free: 43.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/1.036, allocations: 353.3 kB / 0.6267 GB, free: 43.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 693 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008249/1.037, allocations: 428.5 kB / 0.6271 GB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004727/1.042, allocations: 2.678 MB / 0.6297 GB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000551/1.042, allocations: 284.3 kB / 0.6299 GB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.046, allocations: 2.299 MB / 0.6322 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/1.046, allocations: 16 kB / 0.6322 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.046, allocations: 4 kB / 0.6322 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.046, allocations: 6.984 kB / 0.6322 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009578/1.056, allocations: 5.728 MB / 0.6378 GB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.056, allocations: 4 kB / 0.6378 GB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/1.057, allocations: 185.1 kB / 0.638 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/1.059, allocations: 0.7135 MB / 0.6387 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.059, allocations: 6.344 kB / 0.6387 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/1.063, allocations: 4.281 MB / 0.6429 GB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.063, allocations: 4.031 kB / 0.6429 GB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005884/1.069, allocations: 4.466 MB / 0.6472 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.071, allocations: 0.5084 MB / 0.6477 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007223/1.071, allocations: 4 kB / 0.6477 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.073, allocations: 47.95 kB / 0.6478 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.073, allocations: 76.92 kB / 0.6479 GB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-05/1.073, allocations: 39.8 kB / 0.6479 GB, free: 24.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002714/1.076, allocations: 1.863 MB / 0.6497 GB, free: 23.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.076, allocations: 3.938 kB / 0.6497 GB, free: 23.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004969/1.081, allocations: 0.713 MB / 0.6504 GB, free: 22.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006153/1.087, allocations: 5.446 MB / 0.6557 GB, free: 17.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006208/1.093, allocations: 3.812 MB / 0.6595 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.093, allocations: 8.188 kB / 0.6595 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/1.095, allocations: 1.094 MB / 0.6605 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.097, allocations: 304.3 kB / 0.6608 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/1.119, allocations: 6.924 MB / 0.6676 GB, free: 7.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004152/1.123, allocations: 2.871 MB / 0.6704 GB, free: 4.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004951/1.128, allocations: 1.73 MB / 0.6721 GB, free: 3.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002863/1.131, allocations: 1.526 MB / 0.6736 GB, free: 1.945 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.131, allocations: 0 / 0.6736 GB, free: 1.945 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3905/1.521, allocations: 60.2 MB / 0.7324 GB, free: 94.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.521, allocations: 158.2 kB / 0.7325 GB, free: 94.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.06/5.581, allocations: 4 kB / 0.7325 GB, free: 94.33 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat