Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000944/0.0009436, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 177 kB / 16.58 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 222.7 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3501/0.3501, allocations: 43.53 MB / 314.6 MB, free: 9.105 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005254, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.2827/0.4063, allocations: 77.99 MB / 0.5086 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05074/0.4571, allocations: 14.88 MB / 0.5232 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02762/0.4847, allocations: 358 kB / 0.5235 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01646/0.5012, allocations: 4.026 MB / 0.5274 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04174/0.543, allocations: 11.2 MB / 0.5384 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004478/0.5475, allocations: 462.5 kB / 0.5388 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008558/0.5561, allocations: 4.74 MB / 0.5435 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007218/0.5634, allocations: 4.524 MB / 0.5479 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/0.5669, allocations: 1.416 MB / 0.5493 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004219/0.5711, allocations: 2.645 MB / 0.5518 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007205/0.5719, allocations: 188 kB / 0.552 GB, free: 440 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.5736, allocations: 0.5696 MB / 0.5526 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.5754, allocations: 1.858 MB / 0.5544 GB, free: 14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.5768, allocations: 0.9946 MB / 0.5554 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007763/0.5846, allocations: 6.739 MB / 0.5619 GB, free: 6.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.527e-06/0.5846, allocations: 0 / 0.5619 GB, free: 6.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.5846, allocations: 3.938 kB / 0.5619 GB, free: 6.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002867/0.5849, allocations: 3.938 kB / 0.562 GB, free: 6.23 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06886/0.6538, allocations: 9.36 MB / 0.5711 GB, free: 12.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.6539, allocations: 8.031 kB / 0.5711 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004705/0.6586, allocations: 0.8181 MB / 0.5719 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007697/0.6663, allocations: 1.904 MB / 0.5738 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007951/0.6743, allocations: 3.182 MB / 0.5769 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.6746, allocations: 291.5 kB / 0.5771 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/0.677, allocations: 413 kB / 0.5775 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04653/0.7235, allocations: 19.52 MB / 0.5966 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.7237, allocations: 59.47 kB / 0.5967 GB, free: 1.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007468/0.7245, allocations: 183.8 kB / 0.5968 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004819/0.7293, allocations: 2.341 MB / 0.5991 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04959/0.7789, allocations: 22.36 MB / 0.621 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3157/1.095, allocations: 52.51 MB / 0.6722 GB, free: 109.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0581/1.153, allocations: 9.18 MB / 0.6812 GB, free: 107.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004674/1.158, allocations: 3.012 MB / 0.6841 GB, free: 106.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/1.159, allocations: 367.3 kB / 0.6845 GB, free: 106.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/1.159, allocations: 52.56 kB / 0.6845 GB, free: 106.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 4.759e-06/1.159, allocations: 1.219 kB / 0.6845 GB, free: 106.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1101/1.269, allocations: 16.16 MB / 0.7003 GB, free: 103.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/1.27, allocations: 149.8 kB / 0.7005 GB, free: 103.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/1.28, allocations: 4.673 MB / 0.705 GB, free: 98.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000743/1.281, allocations: 53.7 kB / 0.7051 GB, free: 98.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002962/1.284, allocations: 3.496 MB / 0.7085 GB, free: 95.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.286, allocations: 0.8356 MB / 0.7093 GB, free: 94.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/1.287, allocations: 139.4 kB / 0.7094 GB, free: 94.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006828/1.287, allocations: 0.5872 MB / 0.71 GB, free: 93.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004606/1.292, allocations: 3.144 MB / 0.7131 GB, free: 90.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006598/1.299, allocations: 7.433 MB / 0.7203 GB, free: 80.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006018/1.305, allocations: 4.691 MB / 0.7249 GB, free: 76.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/1.305, allocations: 45.31 kB / 0.725 GB, free: 76.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01738/1.322, allocations: 10.56 MB / 0.7353 GB, free: 65.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001818/1.322, allocations: 72 kB / 0.7353 GB, free: 65.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002576/1.323, allocations: 152.9 kB / 0.7355 GB, free: 65.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/1.323, allocations: 223.9 kB / 0.7357 GB, free: 65.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005933/1.329, allocations: 1.801 MB / 0.7375 GB, free: 63.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002458/1.329, allocations: 298.9 kB / 0.7378 GB, free: 62.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007025/1.336, allocations: 0.9278 MB / 0.7387 GB, free: 61.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.338, allocations: 0.5076 MB / 0.7392 GB, free: 61.48 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005376/1.343, allocations: 2.311 MB / 0.7414 GB, free: 59.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.344, allocations: 406.7 kB / 0.7418 GB, free: 58.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006878/1.351, allocations: 4.861 MB / 0.7465 GB, free: 53.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/1.351, allocations: 24.94 kB / 0.7466 GB, free: 53.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/1.351, allocations: 0 / 0.7466 GB, free: 53.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/1.351, allocations: 15.95 kB / 0.7466 GB, free: 53.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/1.37, allocations: 11.51 MB / 0.7578 GB, free: 42.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/1.37, allocations: 8.938 kB / 0.7578 GB, free: 42.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/1.373, allocations: 0.6006 MB / 0.7584 GB, free: 41.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.629e-05/1.373, allocations: 20 kB / 0.7584 GB, free: 41.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003723/1.373, allocations: 147.8 kB / 0.7586 GB, free: 41.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-05/1.373, allocations: 27.89 kB / 0.7586 GB, free: 41.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.373, allocations: 11.94 kB / 0.7586 GB, free: 41.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009509/1.383, allocations: 8.887 MB / 0.7673 GB, free: 32.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.385, allocations: 0.5109 MB / 0.7678 GB, free: 31.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/1.386, allocations: 52.11 kB / 0.7678 GB, free: 31.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/1.388, allocations: 83.98 kB / 0.7679 GB, free: 31.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/1.389, allocations: 236 kB / 0.7682 GB, free: 31.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003432/1.389, allocations: 167.8 kB / 0.7683 GB, free: 31.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005354/1.394, allocations: 2.923 MB / 0.7712 GB, free: 28.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.394, allocations: 3.938 kB / 0.7712 GB, free: 28.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007095/1.402, allocations: 1.366 MB / 0.7725 GB, free: 27.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 205 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009624/1.411, allocations: 9.559 MB / 0.7818 GB, free: 17.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008825/1.42, allocations: 7.061 MB / 0.7887 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.42, allocations: 0 / 0.7887 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00257/1.423, allocations: 2.436 MB / 0.7911 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005475/1.428, allocations: 0.527 MB / 0.7916 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2926/1.721, allocations: 47.48 MB / 0.838 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004218/1.725, allocations: 3.598 MB / 0.8415 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005809/1.731, allocations: 2.304 MB / 0.8438 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00477/1.736, allocations: 2.496 MB / 0.8462 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.333e-06/1.736, allocations: 0 / 0.8462 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/1.905, allocations: 104.4 MB / 0.9482 GB, free: 79.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.905, allocations: 202.2 kB / 0.9484 GB, free: 79.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.829/6.734, allocations: 0 / 0.9484 GB, free: 79.24 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat