Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.0008971/0.0008969, allocations: 99.5 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008616/0.0008616, allocations: 186.4 kB / 17.89 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1862/0.1862, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.02823/0.143, allocations: 31.41 MB / 0.4913 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.1616, allocations: 7.435 MB / 0.4985 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007012/0.1687, allocations: 147.6 kB / 0.4987 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005661/0.1744, allocations: 1.582 MB / 0.5002 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01375/0.1882, allocations: 4.848 MB / 0.5049 GB, free: 64 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.243/0.4312, allocations: 0.4991 MB / 0.5054 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005761/0.437, allocations: 3.776 MB / 0.5091 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005138/0.4422, allocations: 2.959 MB / 0.512 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.4445, allocations: 1.041 MB / 0.513 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.4474, allocations: 1.589 MB / 0.5146 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008219/0.4482, allocations: 113.6 kB / 0.5147 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.4508, allocations: 0.8093 MB / 0.5155 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002053/0.4529, allocations: 1.397 MB / 0.5168 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009529/0.4538, allocations: 0.6977 MB / 0.5175 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.4594, allocations: 4.438 MB / 0.5219 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4594, allocations: 0 / 0.5219 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4594, allocations: 0 / 0.5219 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001855/0.4596, allocations: 1.625 kB / 0.5219 GB, free: 11.12 MB / 382.1 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.007149/0.4668, allocations: 3.367 MB / 0.5252 GB, free: 9.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4668, allocations: 9.469 kB / 0.5252 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001539/0.4684, allocations: 0.606 MB / 0.5258 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005748/0.4741, allocations: 1.839 MB / 0.5275 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004267/0.4784, allocations: 2.183 MB / 0.5297 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.4786, allocations: 190.2 kB / 0.5299 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005627/0.4791, allocations: 261.8 kB / 0.5301 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/0.4932, allocations: 8.424 MB / 0.5383 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.4934, allocations: 41.95 kB / 0.5384 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/0.4937, allocations: 127.5 kB / 0.5385 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/0.4961, allocations: 1.696 MB / 0.5402 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.5095, allocations: 7.074 MB / 0.5471 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04337/0.5529, allocations: 34.12 MB / 0.5804 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007243/0.5602, allocations: 3.277 MB / 0.5836 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.5623, allocations: 1.464 MB / 0.585 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00671/0.569, allocations: 4.358 MB / 0.5893 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5691, allocations: 51.11 kB / 0.5893 GB, free: 5.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.616e-06/0.5691, allocations: 0 / 0.5893 GB, free: 5.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02955/0.5986, allocations: 11.48 MB / 0.6005 GB, free: 10.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/0.5988, allocations: 166.9 kB / 0.6007 GB, free: 10.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005933/0.6047, allocations: 3.71 MB / 0.6043 GB, free: 6.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.6049, allocations: 45.7 kB / 0.6044 GB, free: 6.395 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/0.6068, allocations: 2.755 MB / 0.607 GB, free: 3.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006772/0.6075, allocations: 0.52 MB / 0.6076 GB, free: 3.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.6077, allocations: 104 kB / 0.6077 GB, free: 3.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003218/0.6081, allocations: 0.5292 MB / 0.6082 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.6106, allocations: 1.679 MB / 0.6098 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004738/0.6153, allocations: 5.093 MB / 0.6148 GB, free: 10.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.6192, allocations: 2.868 MB / 0.6176 GB, free: 7.148 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.983e-05/0.6193, allocations: 36 kB / 0.6176 GB, free: 7.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009683/0.629, allocations: 6.655 MB / 0.6241 GB, free: 464 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.6291, allocations: 59.95 kB / 0.6242 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/0.6292, allocations: 124 kB / 0.6243 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/0.6298, allocations: 340.8 kB / 0.6246 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/0.6333, allocations: 1.236 MB / 0.6258 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.636, allocations: 2.287 MB / 0.6281 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/0.6401, allocations: 295.5 kB / 0.6283 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007671/0.6409, allocations: 338.5 kB / 0.6287 GB, free: 11.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * 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.004344/0.6452, allocations: 1.78 MB / 0.6304 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/0.6463, allocations: 316 kB / 0.6307 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005503/0.6518, allocations: 2.355 MB / 0.633 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/0.6519, allocations: 16 kB / 0.633 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.6519, allocations: 4 kB / 0.633 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.6519, allocations: 11.92 kB / 0.633 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.6658, allocations: 5.922 MB / 0.6388 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/0.6659, allocations: 4 kB / 0.6388 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009009/0.6668, allocations: 171.8 kB / 0.639 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/0.6689, allocations: 0.7163 MB / 0.6397 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.6691, allocations: 20 kB / 0.6397 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006286/0.6753, allocations: 4.472 MB / 0.6441 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6754, allocations: 4.031 kB / 0.6441 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007459/0.6828, allocations: 4.313 MB / 0.6483 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.6842, allocations: 368.9 kB / 0.6486 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009154/0.6852, allocations: 25.05 kB / 0.6487 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.6869, allocations: 71.86 kB / 0.6487 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.6871, allocations: 68.56 kB / 0.6488 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.6872, allocations: 35.98 kB / 0.6488 GB, free: 6.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005976/0.6932, allocations: 2.308 MB / 0.6511 GB, free: 4.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6932, allocations: 4.062 kB / 0.6511 GB, free: 4.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0066/0.6998, allocations: 0.8164 MB / 0.6519 GB, free: 3.648 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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.009233/0.7091, allocations: 4.942 MB / 0.6567 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007326/0.7165, allocations: 3.985 MB / 0.6606 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.7165, allocations: 0 / 0.6606 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.7181, allocations: 1.115 MB / 0.6617 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/0.7217, allocations: 377.1 kB / 0.662 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06479/0.7865, allocations: 28.03 MB / 0.6894 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004793/0.7913, allocations: 2.793 MB / 0.6921 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004752/0.7961, allocations: 1.664 MB / 0.6938 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/0.7991, allocations: 1.526 MB / 0.6953 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/0.7991, allocations: 0 / 0.6953 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3573/1.156, allocations: 64.91 MB / 0.7587 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/1.157, allocations: 223.5 kB / 0.7589 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.611/4.767, allocations: 0 / 0.7589 GB, free: 148.2 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat