Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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.0008606/0.0008605, allocations: 97.09 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.0008275/0.0008275, allocations: 173 kB / 16.58 MB, free: 5.645 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.483/1.483, allocations: 205.4 MB / 222.8 MB, free: 5.801 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.347/0.347, allocations: 43.55 MB / 314.6 MB, free: 8.676 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.0004814/0.0004816, allocations: 16 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2496/0.3734, allocations: 60.11 MB / 0.4912 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03095/0.4044, allocations: 12.44 MB / 0.5033 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01329/0.4177, allocations: 282.4 kB / 0.5036 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009746/0.4275, allocations: 3.124 MB / 0.5067 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02929/0.4568, allocations: 9.104 MB / 0.5155 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004754/0.4616, allocations: 0.6184 MB / 0.5162 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009364/0.471, allocations: 5.192 MB / 0.5212 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.4824, allocations: 6.02 MB / 0.5271 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/0.4861, allocations: 1.482 MB / 0.5285 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.4901, allocations: 2.291 MB / 0.5308 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.4911, allocations: 176 kB / 0.531 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.4937, allocations: 0.8074 MB / 0.5317 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002656/0.4964, allocations: 1.979 MB / 0.5337 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001938/0.4983, allocations: 1.014 MB / 0.5347 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007364/0.5057, allocations: 6.648 MB / 0.5412 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5057, allocations: 0 / 0.5412 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5057, allocations: 0 / 0.5412 GB, free: 11.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003326/0.5061, allocations: 0 / 0.5412 GB, free: 11.42 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01802/0.5241, allocations: 5.387 MB / 0.5464 GB, free: 5.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.5242, allocations: 12.03 kB / 0.5464 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003004/0.5272, allocations: 0.8725 MB / 0.5473 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007357/0.5345, allocations: 2.056 MB / 0.5493 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00623/0.5408, allocations: 3.141 MB / 0.5524 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.5411, allocations: 303.9 kB / 0.5526 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/0.5425, allocations: 403.7 kB / 0.553 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/0.5694, allocations: 12.88 MB / 0.5656 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/0.5697, allocations: 51.58 kB / 0.5657 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001417/0.5711, allocations: 187.8 kB / 0.5658 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004188/0.5753, allocations: 2.374 MB / 0.5682 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/0.6005, allocations: 11.79 MB / 0.5797 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06137/0.6619, allocations: 48.12 MB / 0.6267 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2255/0.8875, allocations: 5.703 MB / 0.6322 GB, free: 139.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004262/0.8918, allocations: 3.609 MB / 0.6358 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000839/0.8926, allocations: 0.6982 MB / 0.6364 GB, free: 139.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.8927, allocations: 62.66 kB / 0.6365 GB, free: 139 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 4.648e-06/0.8927, allocations: 0 / 0.6365 GB, free: 139 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.07201/0.9647, allocations: 28.53 MB / 0.6644 GB, free: 130.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.9648, allocations: 154 kB / 0.6645 GB, free: 130.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007581/0.9724, allocations: 4.502 MB / 0.6689 GB, free: 128.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007276/0.9732, allocations: 61.95 kB / 0.669 GB, free: 128.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002438/0.9756, allocations: 3.546 MB / 0.6724 GB, free: 125.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00147/0.9771, allocations: 0.9483 MB / 0.6733 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004359/0.9775, allocations: 139.9 kB / 0.6735 GB, free: 125.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004134/0.978, allocations: 0.5909 MB / 0.6741 GB, free: 124.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004831/0.9828, allocations: 3.428 MB / 0.6774 GB, free: 123.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006171/0.989, allocations: 7.357 MB / 0.6846 GB, free: 117.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005826/0.9949, allocations: 4.909 MB / 0.6894 GB, free: 115.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-05/0.9949, allocations: 50.73 kB / 0.6894 GB, free: 115.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.0155/1.01, allocations: 11.7 MB / 0.7009 GB, free: 105.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.673e-05/1.011, allocations: 64 kB / 0.7009 GB, free: 105.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-05/1.011, allocations: 136 kB / 0.7011 GB, free: 105.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/1.013, allocations: 1.144 MB / 0.7022 GB, free: 104.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004947/1.018, allocations: 1.782 MB / 0.7039 GB, free: 102.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/1.024, allocations: 6.015 MB / 0.7098 GB, free: 96.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005926/1.03, allocations: 419.6 kB / 0.7102 GB, free: 96.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009908/1.031, allocations: 459.8 kB / 0.7106 GB, free: 95.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003706/1.034, allocations: 2.424 MB / 0.713 GB, free: 93.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008667/1.035, allocations: 414.6 kB / 0.7134 GB, free: 92.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008923/1.044, allocations: 6.571 MB / 0.7198 GB, free: 86.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.318e-05/1.044, allocations: 28 kB / 0.7198 GB, free: 86.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/1.044, allocations: 6.719 kB / 0.7198 GB, free: 86.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/1.044, allocations: 12.52 kB / 0.7198 GB, free: 86.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.065, allocations: 13.77 MB / 0.7333 GB, free: 72.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.065, allocations: 4 kB / 0.7333 GB, free: 72.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/1.067, allocations: 0.5967 MB / 0.7339 GB, free: 71.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/1.069, allocations: 0.9523 MB / 0.7348 GB, free: 70.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/1.07, allocations: 98.42 kB / 0.7349 GB, free: 70.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00546/1.075, allocations: 5.729 MB / 0.7405 GB, free: 64.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.075, allocations: 4.656 kB / 0.7405 GB, free: 64.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/1.087, allocations: 11.06 MB / 0.7513 GB, free: 53.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.089, allocations: 0.9408 MB / 0.7522 GB, free: 52.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005127/1.09, allocations: 43.98 kB / 0.7523 GB, free: 52.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.092, allocations: 194.3 kB / 0.7524 GB, free: 52.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003969/1.092, allocations: 193.6 kB / 0.7526 GB, free: 52.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.092, allocations: 107.9 kB / 0.7527 GB, free: 52.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003464/1.096, allocations: 2.827 MB / 0.7555 GB, free: 49.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.096, allocations: 0 / 0.7555 GB, free: 49.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005393/1.101, allocations: 1.26 MB / 0.7567 GB, free: 48.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01223/1.113, allocations: 11.73 MB / 0.7682 GB, free: 36.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01055/1.124, allocations: 8.098 MB / 0.7761 GB, free: 28.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.124, allocations: 0 / 0.7761 GB, free: 28.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003747/1.128, allocations: 3.203 MB / 0.7792 GB, free: 25.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.131, allocations: 0.4916 MB / 0.7797 GB, free: 24.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.293/1.424, allocations: 47.95 MB / 0.8265 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003748/1.428, allocations: 3.794 MB / 0.8302 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005416/1.433, allocations: 2.371 MB / 0.8326 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002943/1.436, allocations: 2.442 MB / 0.8349 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/1.436, allocations: 0 / 0.8349 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/1.586, allocations: 102.8 MB / 0.9353 GB, free: 63.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.587, allocations: 200.2 kB / 0.9355 GB, free: 62.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.65/6.237, allocations: 3.938 kB / 0.9355 GB, free: 62.91 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat