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.001712/0.001712, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002065/0.002065, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2307/0.2307, allocations: 46.9 MB / 357.4 MB, free: 10.46 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 75.88 kB / 0.4913 GB, free: 8.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1307, allocations: 65.99 MB / 0.5557 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01821/0.1489, allocations: 14.72 MB / 0.5701 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.1599, allocations: 5.027 MB / 0.575 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.1624, allocations: 103.6 kB / 0.5751 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008306/0.1707, allocations: 4.197 MB / 0.5792 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006614/0.1773, allocations: 2.373 MB / 0.5815 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.1801, allocations: 1.08 MB / 0.5826 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.191, allocations: 7.153 MB / 0.5895 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2792/0.4702, allocations: 4.309 MB / 0.5938 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.4747, allocations: 2.239 MB / 0.5959 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006106/0.4808, allocations: 3.279 MB / 0.5991 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002085/0.4829, allocations: 0.4895 MB / 0.5996 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.4873, allocations: 1.391 MB / 0.601 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00524/0.4925, allocations: 2.814 MB / 0.6037 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007638/0.5002, allocations: 3.265 MB / 0.6069 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.5151, allocations: 10.15 MB / 0.6168 GB, free: 3.703 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.5151, allocations: 5.188 kB / 0.6168 GB, free: 3.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5151, allocations: 0 / 0.6168 GB, free: 3.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003707/0.5155, allocations: 1.688 kB / 0.6168 GB, free: 3.699 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.02528/0.5408, allocations: 7.302 MB / 0.624 GB, free: 15.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5408, allocations: 9.219 kB / 0.624 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003695/0.5445, allocations: 0.9296 MB / 0.6249 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1564/0.701, allocations: 12.55 MB / 0.6371 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/0.7179, allocations: 5.095 MB / 0.6421 GB, free: 4.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/0.7183, allocations: 322.6 kB / 0.6424 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/0.7208, allocations: 452.6 kB / 0.6429 GB, free: 3.664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/0.7516, allocations: 12.95 MB / 0.6555 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/0.7518, allocations: 64.19 kB / 0.6556 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00118/0.753, allocations: 207.4 kB / 0.6558 GB, free: 5.871 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004974/0.758, allocations: 2.531 MB / 0.6582 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02546/0.7835, allocations: 11.13 MB / 0.6691 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08971/0.8732, allocations: 52.2 MB / 0.7201 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/0.888, allocations: 5.33 MB / 0.7253 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006032/0.8941, allocations: 3.089 MB / 0.7283 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.8952, allocations: 0.6936 MB / 0.729 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.8954, allocations: 63.19 kB / 0.729 GB, free: 10.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 7.213e-06/0.8954, allocations: 0 / 0.729 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.1146/1.01, allocations: 35.28 MB / 0.7635 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/1.01, allocations: 265.3 kB / 0.7637 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01798/1.028, allocations: 5.198 MB / 0.7688 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.029, allocations: 73.7 kB / 0.7689 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006123/1.035, allocations: 4.066 MB / 0.7729 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002802/1.038, allocations: 1.218 MB / 0.7741 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00602/1.044, allocations: 1.528 MB / 0.7755 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.044, allocations: 305.1 kB / 0.7758 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007547/1.052, allocations: 3.403 MB / 0.7792 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/1.065, allocations: 7.559 MB / 0.7865 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01922/1.085, allocations: 11.86 MB / 0.7981 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001605/1.085, allocations: 43.75 kB / 0.7982 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02995/1.115, allocations: 12.74 MB / 0.8106 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/1.115, allocations: 64 kB / 0.8107 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002624/1.115, allocations: 144.9 kB / 0.8108 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00672/1.122, allocations: 2.246 MB / 0.813 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006963/1.129, allocations: 1.716 MB / 0.8147 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02659/1.156, allocations: 16.39 MB / 0.8307 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006561/1.162, allocations: 447.5 kB / 0.8311 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001808/1.164, allocations: 451.8 kB / 0.8315 GB, free: 13.3 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.008015/1.172, allocations: 2.729 MB / 0.8342 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/1.174, allocations: 0.5084 MB / 0.8347 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.19, allocations: 7.26 MB / 0.8418 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.43e-05/1.191, allocations: 35.09 kB / 0.8418 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-05/1.191, allocations: 19.94 kB / 0.8418 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-05/1.191, allocations: 15.94 kB / 0.8418 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3263/1.517, allocations: 16.08 MB / 0.8575 GB, free: 226.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/1.517, allocations: 5.844 kB / 0.8576 GB, free: 226.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/1.52, allocations: 0.4937 MB / 0.858 GB, free: 226.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006116/1.526, allocations: 2.011 MB / 0.86 GB, free: 225.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000871/1.527, allocations: 66.27 kB / 0.8601 GB, free: 225.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/1.545, allocations: 14.89 MB / 0.8746 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.545, allocations: 14.44 kB / 0.8746 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.563, allocations: 11.67 MB / 0.886 GB, free: 213.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.564, allocations: 0.5541 MB / 0.8866 GB, free: 213.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001449/1.566, allocations: 56.69 kB / 0.8866 GB, free: 213.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003265/1.569, allocations: 213.6 kB / 0.8868 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/1.57, allocations: 208 kB / 0.887 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003727/1.571, allocations: 81.88 kB / 0.8871 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006606/1.577, allocations: 3.295 MB / 0.8903 GB, free: 211.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/1.577, allocations: 0 / 0.8903 GB, free: 211.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008214/1.585, allocations: 1.461 MB / 0.8917 GB, free: 210 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.01688/1.602, allocations: 12.37 MB / 0.9038 GB, free: 199.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.614, allocations: 8.114 MB / 0.9117 GB, free: 192.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.614, allocations: 4 kB / 0.9117 GB, free: 192.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007207/1.621, allocations: 3.858 MB / 0.9155 GB, free: 188.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006173/1.628, allocations: 0.6979 MB / 0.9162 GB, free: 187.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1234/1.751, allocations: 68.17 MB / 0.9828 GB, free: 112.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008609/1.76, allocations: 4.271 MB / 0.9869 GB, free: 108.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007136/1.767, allocations: 2.464 MB / 0.9893 GB, free: 105.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00676/1.773, allocations: 2.71 MB / 0.992 GB, free: 103.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.934e-06/1.773, allocations: 0 / 0.992 GB, free: 103.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4627/2.236, allocations: 112.7 MB / 1.102 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.72/24.96, allocations: 8.656 kB / 1.102 GB, free: 217.4 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.18387488136068] 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.109375298023224 25.12482384 24.606216161 Calling exit ...