Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247 MB, free: 10.42 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.2361/0.2361, allocations: 46.13 MB / 344.4 MB, free: 11.46 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.003238/0.003238, allocations: 83.84 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3934, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01039/0.4039, allocations: 8.647 MB / 0.5391 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007315/0.4112, allocations: 3.468 MB / 0.5424 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.4127, allocations: 44.78 kB / 0.5425 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002739/0.4155, allocations: 1.361 MB / 0.5438 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.4181, allocations: 0.9112 MB / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.4193, allocations: 0.5193 MB / 0.5452 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.4218, allocations: 1.73 MB / 0.5469 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.4238, allocations: 1.65 MB / 0.5485 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009709/0.4248, allocations: 0.6581 MB / 0.5492 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.426, allocations: 0.884 MB / 0.55 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.4262, allocations: 140 kB / 0.5501 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.4273, allocations: 0.5656 MB / 0.5507 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006794/0.428, allocations: 0.7209 MB / 0.5514 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008447/0.4289, allocations: 0.8353 MB / 0.5522 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.4318, allocations: 2.48 MB / 0.5546 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4318, allocations: 0 / 0.5546 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4318, allocations: 0 / 0.5546 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.4319, allocations: 0 / 0.5546 GB, free: 9.02 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003749/0.4356, allocations: 2.062 MB / 0.5567 GB, free: 6.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4357, allocations: 8.031 kB / 0.5567 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002941/0.436, allocations: 245.5 kB / 0.5569 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.4371, allocations: 283.5 kB / 0.5572 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.4393, allocations: 1.294 MB / 0.5584 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.684e-05/0.4394, allocations: 102.4 kB / 0.5585 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.4396, allocations: 120 kB / 0.5586 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.445, allocations: 2.996 MB / 0.5616 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.4451, allocations: 19.83 kB / 0.5616 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.4452, allocations: 55.97 kB / 0.5616 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006296/0.4459, allocations: 430 kB / 0.5621 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0048/0.4507, allocations: 2.183 MB / 0.5642 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.4635, allocations: 10.72 MB / 0.5746 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/0.4676, allocations: 1.239 MB / 0.5759 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.4682, allocations: 411.1 kB / 0.5762 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004035/0.4723, allocations: 3.081 MB / 0.5793 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.4724, allocations: 39 kB / 0.5793 GB, free: 14.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.4724, allocations: 0 / 0.5793 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01219/0.4846, allocations: 3.818 MB / 0.583 GB, free: 10.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.4847, allocations: 81.67 kB / 0.5831 GB, free: 10.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.4863, allocations: 1.198 MB / 0.5843 GB, free: 9.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.4864, allocations: 37.7 kB / 0.5843 GB, free: 9.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.4871, allocations: 0.9663 MB / 0.5853 GB, free: 8.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.4873, allocations: 230.1 kB / 0.5855 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.4877, allocations: 307.4 kB / 0.5858 GB, free: 8.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4879, allocations: 305.1 kB / 0.5861 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.4886, allocations: 415.7 kB / 0.5865 GB, free: 7.379 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.49, allocations: 1.25 MB / 0.5877 GB, free: 5.715 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.4923, allocations: 1.806 MB / 0.5894 GB, free: 3.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.4923, allocations: 8 kB / 0.5894 GB, free: 3.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002807/0.4951, allocations: 1.723 MB / 0.5911 GB, free: 1.754 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.4952, allocations: 18.41 kB / 0.5911 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.4952, allocations: 36 kB / 0.5912 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.4954, allocations: 88.77 kB / 0.5913 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4965, allocations: 355.5 kB / 0.5916 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.4983, allocations: 1.869 MB / 0.5934 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.4992, allocations: 71.97 kB / 0.5935 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.4993, allocations: 87.98 kB / 0.5936 GB, free: 15.1 MB / 462.1 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 (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.0009213/0.5002, allocations: 0.6439 MB / 0.5942 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.5004, allocations: 119.3 kB / 0.5943 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.5007, allocations: 139.6 kB / 0.5945 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5007, allocations: 8 kB / 0.5945 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5007, allocations: 0 / 0.5945 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5007, allocations: 3.984 kB / 0.5945 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.5042, allocations: 2.243 MB / 0.5967 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.5042, allocations: 8.031 kB / 0.5967 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.5046, allocations: 99.81 kB / 0.5968 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.5048, allocations: 60.81 kB / 0.5968 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.5048, allocations: 16 kB / 0.5968 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.5067, allocations: 1.944 MB / 0.5987 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5067, allocations: 4 kB / 0.5987 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.5084, allocations: 1.116 MB / 0.5998 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.5087, allocations: 192.3 kB / 0.6 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5088, allocations: 12 kB / 0.6 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.5092, allocations: 27.92 kB / 0.6 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.5093, allocations: 51.94 kB / 0.6001 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.5094, allocations: 23.94 kB / 0.6001 GB, free: 8.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.5105, allocations: 0.7596 MB / 0.6009 GB, free: 7.289 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5105, allocations: 0 / 0.6009 GB, free: 7.289 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001345/0.5118, allocations: 296 kB / 0.6011 GB, free: 7 MB / 462.1 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 (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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002138/0.514, allocations: 1.686 MB / 0.6028 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.516, allocations: 1.105 MB / 0.6039 GB, free: 4.121 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.516, allocations: 0 / 0.6039 GB, free: 4.121 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006154/0.5166, allocations: 411.9 kB / 0.6043 GB, free: 3.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5177, allocations: 200.7 kB / 0.6045 GB, free: 3.508 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.5351, allocations: 11.48 MB / 0.6157 GB, free: 6.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.5366, allocations: 1.443 MB / 0.6171 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001067/0.5377, allocations: 409.6 kB / 0.6175 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/0.5385, allocations: 0.5812 MB / 0.618 GB, free: 4.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5385, allocations: 0 / 0.618 GB, free: 4.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06687/0.6053, allocations: 22.97 MB / 0.6405 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.94, allocations: 11.98 kB / 0.6405 GB, free: 13.74 MB / 0.4981 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)