Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.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) 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 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(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",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.001667/0.001672, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.001768, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4488/0.4488, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004789, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.036/0.1617, allocations: 22.34 MB / 0.5006 GB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.1798, allocations: 6.16 MB / 0.5067 GB, free: 12.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004287/0.1841, allocations: 111.7 kB / 0.5068 GB, free: 12.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.1882, allocations: 1.061 MB / 0.5078 GB, free: 11.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.2018, allocations: 3.362 MB / 0.5111 GB, free: 8.098 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.2044, allocations: 443.2 kB / 0.5115 GB, free: 7.664 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002846/0.2072, allocations: 0.979 MB / 0.5125 GB, free: 6.684 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004391/0.2117, allocations: 1.961 MB / 0.5144 GB, free: 4.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.2129, allocations: 454.4 kB / 0.5148 GB, free: 4.234 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.2141, allocations: 0.5802 MB / 0.5154 GB, free: 3.652 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.2144, allocations: 56 kB / 0.5154 GB, free: 3.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.2157, allocations: 431.4 kB / 0.5159 GB, free: 3.176 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009075/0.2167, allocations: 0.5806 MB / 0.5164 GB, free: 2.594 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.2172, allocations: 312.8 kB / 0.5167 GB, free: 2.281 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.2206, allocations: 1.917 MB / 0.5186 GB, free: 368 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2206, allocations: 3.938 kB / 0.5186 GB, free: 364 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2206, allocations: 0 / 0.5186 GB, free: 364 kB / 362.7 MB Notification: Performance of Transformations before backend: time 6.089e-05/0.2207, allocations: 0 / 0.5186 GB, free: 364 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.3281/0.5488, allocations: 1.731 MB / 0.5203 GB, free: 47.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.5489, allocations: 11.5 kB / 0.5203 GB, free: 47.11 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008837/0.5498, allocations: 247.4 kB / 0.5205 GB, free: 47.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.5519, allocations: 280.2 kB / 0.5208 GB, free: 46.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/0.5557, allocations: 1.284 MB / 0.522 GB, free: 46.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.5559, allocations: 92.17 kB / 0.5221 GB, free: 46.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.5563, allocations: 129.1 kB / 0.5223 GB, free: 46.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009871/0.5662, allocations: 3.042 MB / 0.5252 GB, free: 45.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.598e-05/0.5663, allocations: 10.12 kB / 0.5252 GB, free: 45.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.5665, allocations: 58.25 kB / 0.5253 GB, free: 45.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/0.5676, allocations: 433.3 kB / 0.5257 GB, free: 45.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00937/0.577, allocations: 2.221 MB / 0.5279 GB, free: 44.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02086/0.5979, allocations: 10.82 MB / 0.5384 GB, free: 36.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/0.6051, allocations: 1.243 MB / 0.5397 GB, free: 36.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005978/0.6112, allocations: 3.041 MB / 0.5426 GB, free: 33.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.6113, allocations: 37.66 kB / 0.5427 GB, free: 33.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.266e-06/0.6113, allocations: 0 / 0.5427 GB, free: 33.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.02045/0.6317, allocations: 3.808 MB / 0.5464 GB, free: 31.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6318, allocations: 81.67 kB / 0.5465 GB, free: 30.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.6339, allocations: 1.32 MB / 0.5477 GB, free: 29.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/0.6341, allocations: 37.7 kB / 0.5478 GB, free: 29.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/0.6347, allocations: 0.9484 MB / 0.5487 GB, free: 28.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6349, allocations: 218 kB / 0.5489 GB, free: 28.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.635, allocations: 31.75 kB / 0.5489 GB, free: 28.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6351, allocations: 378.8 kB / 0.5493 GB, free: 28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/0.636, allocations: 399.7 kB / 0.5497 GB, free: 27.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.6374, allocations: 1.238 MB / 0.5509 GB, free: 25.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.6388, allocations: 0.6751 MB / 0.5516 GB, free: 25.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.6389, allocations: 8 kB / 0.5516 GB, free: 25.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003585/0.6425, allocations: 1.629 MB / 0.5532 GB, free: 23.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.6425, allocations: 27.42 kB / 0.5532 GB, free: 23.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.6426, allocations: 28 kB / 0.5532 GB, free: 23.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.6429, allocations: 89.55 kB / 0.5533 GB, free: 23.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.6449, allocations: 359.3 kB / 0.5536 GB, free: 23.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.6466, allocations: 1.717 MB / 0.5553 GB, free: 21.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.6481, allocations: 63.98 kB / 0.5554 GB, free: 21.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.6482, allocations: 88.7 kB / 0.5555 GB, free: 21.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * 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.001143/0.6494, allocations: 0.6284 MB / 0.5561 GB, free: 20.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.6496, allocations: 134.5 kB / 0.5562 GB, free: 20.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.6512, allocations: 0.6991 MB / 0.5569 GB, free: 19.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.6512, allocations: 4 kB / 0.5569 GB, free: 19.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6512, allocations: 0 / 0.5569 GB, free: 19.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6513, allocations: 3.984 kB / 0.5569 GB, free: 19.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004595/0.6559, allocations: 2.265 MB / 0.5591 GB, free: 17.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6559, allocations: 0 / 0.5591 GB, free: 17.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/0.6566, allocations: 95.83 kB / 0.5592 GB, free: 17.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.6569, allocations: 69.27 kB / 0.5593 GB, free: 17.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.6569, allocations: 16 kB / 0.5593 GB, free: 17.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.6588, allocations: 1.765 MB / 0.561 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.6588, allocations: 7.953 kB / 0.561 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.661, allocations: 1.298 MB / 0.5623 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.6615, allocations: 231.5 kB / 0.5625 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.6616, allocations: 20 kB / 0.5625 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/0.6623, allocations: 28.05 kB / 0.5625 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6624, allocations: 55.77 kB / 0.5626 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.6625, allocations: 16 kB / 0.5626 GB, free: 13.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.6639, allocations: 0.8539 MB / 0.5634 GB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6639, allocations: 4 kB / 0.5634 GB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001837/0.6657, allocations: 318.6 kB / 0.5638 GB, free: 12.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002674/0.6684, allocations: 2.971 MB / 0.5667 GB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.6708, allocations: 1.082 MB / 0.5677 GB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6708, allocations: 3.938 kB / 0.5677 GB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.6716, allocations: 394.2 kB / 0.5681 GB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6729, allocations: 171.6 kB / 0.5683 GB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.6899, allocations: 25.23 MB / 0.5929 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.6918, allocations: 1.486 MB / 0.5943 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/0.6931, allocations: 0.593 MB / 0.5949 GB, free: 11.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6931, allocations: 0 / 0.5949 GB, free: 11.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.287/3.98, allocations: 29.61 MB / 0.6238 GB, free: 13.81 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat