Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00098/0.00098, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8816/0.8816, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1328/0.1328, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.323e-05, allocations: 6.078 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01053/0.01056, allocations: 13.24 MB / 420.1 MB, free: 4.918 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008933/0.01949, allocations: 4.903 MB / 425 MB, free: 0 / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.02187, allocations: 119.4 kB / 425.1 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004839/0.02671, allocations: 4.286 MB / 429.4 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006419/0.03313, allocations: 2.589 MB / 432 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.03522, allocations: 1.189 MB / 433.2 MB, free: 7.789 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008489/0.04371, allocations: 7.826 MB / 441 MB, free: 15.95 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005728/0.04944, allocations: 4.91 MB / 445.9 MB, free: 10.96 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006406/0.05584, allocations: 3.652 MB / 449.6 MB, free: 7.301 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005152/0.061, allocations: 3.542 MB / 453.1 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.06249, allocations: 0.5195 MB / 453.6 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.06484, allocations: 1.354 MB / 455 MB, free: 1.875 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.0675, allocations: 3.074 MB / 458.1 MB, free: 14.79 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003672/0.07117, allocations: 2.076 MB / 460.1 MB, free: 12.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.08137, allocations: 10.71 MB / 470.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.08138, allocations: 0 / 470.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.08138, allocations: 0 / 470.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000341/0.08172, allocations: 0 / 470.8 MB, free: 1.965 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.1927/0.2744, allocations: 7.565 MB / 478.4 MB, free: 95.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.2745, allocations: 9.375 kB / 478.4 MB, free: 95.37 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001108/0.2756, allocations: 0.9578 MB / 479.4 MB, free: 94.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06982/0.3454, allocations: 13.03 MB / 492.4 MB, free: 93.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00852/0.3539, allocations: 4.916 MB / 497.3 MB, free: 91.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.3542, allocations: 335.6 kB / 497.7 MB, free: 91.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.3558, allocations: 459.6 kB / 498.1 MB, free: 91.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.3757, allocations: 13.6 MB / 0.4997 GB, free: 85.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/0.3759, allocations: 66.33 kB / 0.4998 GB, free: 85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005127/0.3764, allocations: 221.9 kB / 0.5 GB, free: 84.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002352/0.3788, allocations: 2.656 MB / 0.5026 GB, free: 82.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.3947, allocations: 11.51 MB / 0.5138 GB, free: 70.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04259/0.4373, allocations: 50.79 MB / 0.5634 GB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/0.4448, allocations: 5.136 MB / 0.5684 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.4474, allocations: 3.162 MB / 0.5715 GB, free: 10.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000439/0.4479, allocations: 250.3 kB / 0.5718 GB, free: 10.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.4479, allocations: 56.56 kB / 0.5718 GB, free: 10.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=254): time 4.779e-06/0.4479, allocations: 0 / 0.5718 GB, free: 10.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=324): time 0.06368/0.5116, allocations: 36.76 MB / 0.6077 GB, free: 5.383 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5117, allocations: 261.4 kB / 0.608 GB, free: 5.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006739/0.5185, allocations: 6.202 MB / 0.614 GB, free: 14.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007097/0.5192, allocations: 73.7 kB / 0.6141 GB, free: 14.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/0.5212, allocations: 4.164 MB / 0.6182 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/0.5228, allocations: 1.236 MB / 0.6194 GB, free: 9.359 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.5243, allocations: 1.548 MB / 0.6209 GB, free: 7.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.201e-05/0.5244, allocations: 301.1 kB / 0.6212 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/0.5279, allocations: 3.466 MB / 0.6245 GB, free: 4.039 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006391/0.5343, allocations: 7.83 MB / 0.6322 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.5462, allocations: 12.11 MB / 0.644 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/0.5463, allocations: 47.94 kB / 0.6441 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.2112/0.7576, allocations: 12.96 MB / 0.6567 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-05/0.7576, allocations: 70.53 kB / 0.6568 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.7577, allocations: 146.4 kB / 0.6569 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/0.7615, allocations: 2.253 MB / 0.6591 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003727/0.7653, allocations: 1.765 MB / 0.6609 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.7787, allocations: 16.14 MB / 0.6766 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/0.7848, allocations: 0.5506 MB / 0.6772 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/0.7862, allocations: 456.1 kB / 0.6776 GB, free: 142.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (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 (931): * Single equations (assignments): 926 * 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.005051/0.7912, allocations: 2.823 MB / 0.6803 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/0.7929, allocations: 0.5279 MB / 0.6809 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008947/0.8018, allocations: 7.399 MB / 0.6881 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.525e-05/0.8019, allocations: 34.31 kB / 0.6881 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.633e-05/0.8019, allocations: 9.625 kB / 0.6881 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-05/0.802, allocations: 14.36 kB / 0.6881 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/0.8259, allocations: 15.75 MB / 0.7035 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.8259, allocations: 7.375 kB / 0.7035 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.8276, allocations: 0.5175 MB / 0.704 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.8307, allocations: 2.012 MB / 0.706 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006203/0.8313, allocations: 59.47 kB / 0.7061 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/0.8423, allocations: 14.64 MB / 0.7204 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.8423, allocations: 11.94 kB / 0.7204 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.8536, allocations: 11.85 MB / 0.7319 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/0.8562, allocations: 1.119 MB / 0.733 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/0.8575, allocations: 61.39 kB / 0.7331 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/0.8601, allocations: 307.5 kB / 0.7334 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004431/0.8606, allocations: 221.4 kB / 0.7336 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.8607, allocations: 94.64 kB / 0.7337 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004062/0.8648, allocations: 3.848 MB / 0.7375 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.8648, allocations: 0 / 0.7375 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00564/0.8704, allocations: 1.739 MB / 0.7391 GB, free: 106.7 MB / 0.5105 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 (263): * Single equations (assignments): 258 * 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.0109/0.8813, allocations: 12.57 MB / 0.7514 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009217/0.8906, allocations: 8.295 MB / 0.7595 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.8906, allocations: 0 / 0.7595 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004463/0.895, allocations: 3.911 MB / 0.7633 GB, free: 81.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/0.8986, allocations: 0.7168 MB / 0.764 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07933/0.9779, allocations: 71.75 MB / 0.8341 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004788/0.9827, allocations: 3.907 MB / 0.8379 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00441/0.9871, allocations: 2.544 MB / 0.8404 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004189/0.9913, allocations: 2.843 MB / 0.8432 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of SimCode: time 3.647e-06/0.9913, allocations: 0 / 0.8432 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/1.296, allocations: 120.3 MB / 0.9607 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/13.07, allocations: 3.906 kB / 0.9607 GB, free: 87.05 MB / 0.5261 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.14671393390745] 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'] 13.206644218415022 13.211991461 13.129226095 Calling exit ...