Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001736/0.001735, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.277/0.277, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 81.66 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.123, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01935/0.1424, allocations: 12.26 MB / 492.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1531, allocations: 3.866 MB / 496.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.1556, allocations: 59.88 kB / 496.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.1591, allocations: 1.311 MB / 497.7 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.1642, allocations: 1.72 MB / 499.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1657, allocations: 419.2 kB / 499.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00543/0.1712, allocations: 3.597 MB / 0.4916 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003481/0.1747, allocations: 2.017 MB / 0.4936 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.1772, allocations: 1.183 MB / 0.4948 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.1802, allocations: 1.736 MB / 0.4964 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009491/0.1812, allocations: 240 kB / 0.4967 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.1836, allocations: 0.8113 MB / 0.4975 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.186, allocations: 1.574 MB / 0.499 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003904/0.19, allocations: 1.871 MB / 0.5008 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2442/0.4342, allocations: 5.78 MB / 0.5065 GB, free: 18.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4343, allocations: 0.7031 kB / 0.5065 GB, free: 18.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4343, allocations: 0 / 0.5065 GB, free: 18.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002204/0.4345, allocations: 0.5312 kB / 0.5065 GB, free: 18.28 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.00813/0.4426, allocations: 4.032 MB / 0.5104 GB, free: 16.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.4427, allocations: 9.312 kB / 0.5104 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001067/0.4438, allocations: 0.7006 MB / 0.5111 GB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.4548, allocations: 3.079 MB / 0.5141 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/0.4602, allocations: 2.112 MB / 0.5162 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.4605, allocations: 193.5 kB / 0.5164 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/0.4621, allocations: 247 kB / 0.5166 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.4818, allocations: 10.18 MB / 0.5265 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.482, allocations: 30.44 kB / 0.5266 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000938/0.483, allocations: 118.1 kB / 0.5267 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003667/0.4866, allocations: 2.46 MB / 0.5291 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01737/0.504, allocations: 9.355 MB / 0.5382 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05218/0.5562, allocations: 31.66 MB / 0.5691 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006876/0.5632, allocations: 3.351 MB / 0.5724 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.5651, allocations: 1.078 MB / 0.5735 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.5666, allocations: 1.309 MB / 0.5747 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.5667, allocations: 43.88 kB / 0.5748 GB, free: 1.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 6.322e-06/0.5667, allocations: 0 / 0.5748 GB, free: 1.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.02235/0.589, allocations: 9.1 MB / 0.5837 GB, free: 8.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.5891, allocations: 72.72 kB / 0.5837 GB, free: 8.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004682/0.5938, allocations: 2.602 MB / 0.5863 GB, free: 5.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.5941, allocations: 53.14 kB / 0.5863 GB, free: 5.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002325/0.5964, allocations: 2.662 MB / 0.5889 GB, free: 3.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.5975, allocations: 0.7013 MB / 0.5896 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/0.5993, allocations: 0.9696 MB / 0.5906 GB, free: 1.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5995, allocations: 305.1 kB / 0.5908 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.6022, allocations: 1.549 MB / 0.5924 GB, free: 15.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005442/0.6077, allocations: 4.373 MB / 0.5966 GB, free: 9.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.6178, allocations: 6.548 MB / 0.603 GB, free: 2.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/0.618, allocations: 32 kB / 0.6031 GB, free: 2.348 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01251/0.6305, allocations: 5.83 MB / 0.6088 GB, free: 12.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.6307, allocations: 56.16 kB / 0.6088 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/0.6308, allocations: 100 kB / 0.6089 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.6313, allocations: 172.8 kB / 0.6091 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/0.6349, allocations: 1.064 MB / 0.6101 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.6369, allocations: 1.79 MB / 0.6119 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.6402, allocations: 206.4 kB / 0.612 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000858/0.6411, allocations: 295.9 kB / 0.6123 GB, free: 9.105 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (592): * Single equations (assignments): 585 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00433/0.6454, allocations: 1.992 MB / 0.6143 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006965/0.6461, allocations: 241.1 kB / 0.6145 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.651, allocations: 2.545 MB / 0.617 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/0.6511, allocations: 20 kB / 0.617 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6511, allocations: 8 kB / 0.617 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.6511, allocations: 7.969 kB / 0.617 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/0.6682, allocations: 7.959 MB / 0.6248 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/0.6682, allocations: 12 kB / 0.6248 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.6693, allocations: 251.6 kB / 0.625 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.6695, allocations: 52.83 kB / 0.6251 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.6697, allocations: 39.91 kB / 0.6251 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.6713, allocations: 1.637 MB / 0.6267 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.6713, allocations: 15.94 kB / 0.6268 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/0.6773, allocations: 4.013 MB / 0.6307 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/0.678, allocations: 301.8 kB / 0.631 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/0.6785, allocations: 38.33 kB / 0.631 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6796, allocations: 57.08 kB / 0.631 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.6799, allocations: 120.7 kB / 0.6312 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.68, allocations: 68.28 kB / 0.6312 GB, free: 5.258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003042/0.6831, allocations: 1.607 MB / 0.6328 GB, free: 3.641 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6831, allocations: 4 kB / 0.6328 GB, free: 3.637 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00448/0.6876, allocations: 0.772 MB / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006805/0.6944, allocations: 4.691 MB / 0.6381 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00927/0.7037, allocations: 5.483 MB / 0.6435 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.7037, allocations: 0 / 0.6435 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.7057, allocations: 1.235 MB / 0.6447 GB, free: 7.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.7079, allocations: 353.5 kB / 0.645 GB, free: 6.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0568/0.7647, allocations: 35.7 MB / 0.6799 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004811/0.7696, allocations: 3.137 MB / 0.683 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004/0.7736, allocations: 1.706 MB / 0.6846 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002397/0.776, allocations: 1.7 MB / 0.6863 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.776, allocations: 0 / 0.6863 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3119/1.088, allocations: 48.42 MB / 0.7336 GB, free: 196.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.26, allocations: 2.922 kB / 0.7336 GB, free: 196.1 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)