Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2498/0.2498, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 83.88 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1548, allocations: 66.04 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01834/0.1731, allocations: 14.72 MB / 0.5705 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.1848, allocations: 5.023 MB / 0.5755 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/0.1883, allocations: 119.4 kB / 0.5756 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009148/0.1974, allocations: 4.193 MB / 0.5797 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008314/0.2057, allocations: 2.377 MB / 0.582 GB, free: 11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.2093, allocations: 1.08 MB / 0.583 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01362/0.2229, allocations: 7.155 MB / 0.59 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3155/0.5384, allocations: 4.305 MB / 0.5942 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/0.5433, allocations: 2.279 MB / 0.5965 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008192/0.5515, allocations: 3.273 MB / 0.5997 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00291/0.5544, allocations: 498.1 kB / 0.6001 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005382/0.5598, allocations: 1.395 MB / 0.6015 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005848/0.5656, allocations: 2.814 MB / 0.6042 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00663/0.5722, allocations: 3.27 MB / 0.6074 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.587, allocations: 10.15 MB / 0.6173 GB, free: 3.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.587, allocations: 2.297 kB / 0.6173 GB, free: 3.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.587, allocations: 0 / 0.6173 GB, free: 3.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003565/0.5873, allocations: 0 / 0.6173 GB, free: 3.605 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.02598/0.6133, allocations: 7.305 MB / 0.6245 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6133, allocations: 13.53 kB / 0.6245 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002684/0.6136, allocations: 139.2 kB / 0.6246 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002646/0.6163, allocations: 0.9296 MB / 0.6255 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1616/0.7778, allocations: 12.56 MB / 0.6378 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/0.794, allocations: 5.074 MB / 0.6427 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/0.7944, allocations: 327 kB / 0.6431 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/0.7971, allocations: 452.1 kB / 0.6435 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03294/0.8301, allocations: 12.96 MB / 0.6562 GB, free: 5.426 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003233/0.8304, allocations: 68.42 kB / 0.6562 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.8314, allocations: 210.5 kB / 0.6564 GB, free: 5.219 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005392/0.8368, allocations: 2.525 MB / 0.6589 GB, free: 2.727 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02796/0.8648, allocations: 11.14 MB / 0.6698 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08709/0.9519, allocations: 52.19 MB / 0.7207 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.9672, allocations: 5.326 MB / 0.7259 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005226/0.9724, allocations: 3.094 MB / 0.7289 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008977/0.9733, allocations: 0.6927 MB / 0.7296 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/0.9734, allocations: 59.56 kB / 0.7297 GB, free: 9.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 4.919e-06/0.9734, allocations: 0 / 0.7297 GB, free: 9.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.1114/1.085, allocations: 35.28 MB / 0.7641 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/1.085, allocations: 261.3 kB / 0.7644 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009773/1.095, allocations: 5.201 MB / 0.7695 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009553/1.096, allocations: 73.7 kB / 0.7695 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004035/1.1, allocations: 4.069 MB / 0.7735 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002222/1.102, allocations: 1.221 MB / 0.7747 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002756/1.105, allocations: 1.527 MB / 0.7762 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.105, allocations: 305.1 kB / 0.7765 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005752/1.111, allocations: 3.403 MB / 0.7798 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.121, allocations: 7.56 MB / 0.7872 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0194/1.14, allocations: 11.86 MB / 0.7988 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/1.141, allocations: 40 kB / 0.7988 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.0338/1.174, allocations: 12.73 MB / 0.8112 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.175, allocations: 68 kB / 0.8113 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001972/1.175, allocations: 147.9 kB / 0.8114 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006075/1.181, allocations: 2.247 MB / 0.8136 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007326/1.188, allocations: 1.715 MB / 0.8153 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/1.213, allocations: 16.4 MB / 0.8313 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008817/1.222, allocations: 443.5 kB / 0.8318 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002315/1.224, allocations: 447.9 kB / 0.8322 GB, free: 12.68 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (906): * Single equations (assignments): 901 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009918/1.234, allocations: 2.735 MB / 0.8349 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/1.236, allocations: 0.5006 MB / 0.8353 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/1.252, allocations: 7.276 MB / 0.8425 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.158e-05/1.252, allocations: 32.09 kB / 0.8425 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.844e-05/1.252, allocations: 8 kB / 0.8425 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.696e-05/1.253, allocations: 19.94 kB / 0.8425 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3911/1.644, allocations: 16.06 MB / 0.8582 GB, free: 225.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/1.644, allocations: 7.562 kB / 0.8582 GB, free: 225.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/1.647, allocations: 0.4968 MB / 0.8587 GB, free: 225.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006943/1.654, allocations: 2.005 MB / 0.8606 GB, free: 225.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007369/1.654, allocations: 63.7 kB / 0.8607 GB, free: 225.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/1.673, allocations: 14.9 MB / 0.8753 GB, free: 218 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-06/1.673, allocations: 11.84 kB / 0.8753 GB, free: 218 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/1.69, allocations: 11.66 MB / 0.8867 GB, free: 213.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/1.693, allocations: 0.5606 MB / 0.8872 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.694, allocations: 65.31 kB / 0.8873 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.696, allocations: 209.6 kB / 0.8875 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006625/1.697, allocations: 204.4 kB / 0.8877 GB, free: 213 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/1.697, allocations: 87.67 kB / 0.8877 GB, free: 213 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006472/1.704, allocations: 3.29 MB / 0.891 GB, free: 210.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/1.704, allocations: 0 / 0.891 GB, free: 210.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008895/1.713, allocations: 1.469 MB / 0.8924 GB, free: 209.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (253): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,17,46.9%), (7,17,46.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01646/1.729, allocations: 12.36 MB / 0.9045 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.741, allocations: 8.114 MB / 0.9124 GB, free: 191.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.741, allocations: 4 kB / 0.9124 GB, free: 191.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006824/1.748, allocations: 3.865 MB / 0.9162 GB, free: 187.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004984/1.753, allocations: 0.6998 MB / 0.9168 GB, free: 186.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1018/1.855, allocations: 68.16 MB / 0.9834 GB, free: 111.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00547/1.86, allocations: 4.283 MB / 0.9876 GB, free: 107.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005179/1.866, allocations: 2.457 MB / 0.99 GB, free: 105.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00371/1.869, allocations: 2.71 MB / 0.9926 GB, free: 102.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.804e-06/1.869, allocations: 0 / 0.9926 GB, free: 102.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5113/2.381, allocations: 112.8 MB / 1.103 GB, free: 216.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.5/24.88, allocations: 6.516 kB / 1.103 GB, free: 216.7 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.35226243501529] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r_rel_a[1]', 'freeMotion.v_rel_a[1]', 'prismatic1.s', 'prismatic1.v', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b', 'universal1.phi_a', 'universal1.phi_b', 'universal1.w_a', 'universal1.w_b'] 25.08667221403448 25.097012282 24.507535111 Calling exit ...