Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001353/0.001353, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001462/0.001462, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 46.93 MB / 360.9 MB, free: 4.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 67.89 kB / 0.4962 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4277, allocations: 66.04 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01861/0.4463, allocations: 14.76 MB / 0.5751 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.4579, allocations: 5.035 MB / 0.58 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/0.4606, allocations: 127.3 kB / 0.5801 GB, free: 472 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008348/0.469, allocations: 4.205 MB / 0.5842 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006352/0.4753, allocations: 2.389 MB / 0.5866 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.4781, allocations: 1.088 MB / 0.5876 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01097/0.4891, allocations: 7.177 MB / 0.5946 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006231/0.4953, allocations: 4.056 MB / 0.5986 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.4995, allocations: 2.274 MB / 0.6008 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005717/0.5052, allocations: 3.283 MB / 0.604 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001696/0.5069, allocations: 496 kB / 0.6045 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.5105, allocations: 1.393 MB / 0.6058 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004284/0.5148, allocations: 2.816 MB / 0.6086 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008035/0.5229, allocations: 3.267 MB / 0.6118 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.5397, allocations: 10.15 MB / 0.6217 GB, free: 5.684 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5397, allocations: 0 / 0.6217 GB, free: 5.684 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5397, allocations: 0 / 0.6217 GB, free: 5.684 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003706/0.5401, allocations: 0 / 0.6217 GB, free: 5.684 MB / 462.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.02231/0.5624, allocations: 7.238 MB / 0.6288 GB, free: 14.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.5625, allocations: 8.031 kB / 0.6288 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00227/0.5647, allocations: 0.9261 MB / 0.6297 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1547/0.7195, allocations: 12.56 MB / 0.6419 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.7324, allocations: 4.986 MB / 0.6468 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.7328, allocations: 328.5 kB / 0.6471 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.7343, allocations: 447.7 kB / 0.6476 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/0.7602, allocations: 12.96 MB / 0.6602 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002422/0.7604, allocations: 71.47 kB / 0.6603 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006359/0.7611, allocations: 207.8 kB / 0.6605 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004708/0.7658, allocations: 2.527 MB / 0.6629 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/0.7903, allocations: 11.12 MB / 0.6738 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08072/0.871, allocations: 52.05 MB / 0.7246 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/0.8849, allocations: 4.891 MB / 0.7294 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004704/0.8896, allocations: 3.116 MB / 0.7324 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.8902, allocations: 249.6 kB / 0.7327 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/0.8903, allocations: 68.5 kB / 0.7328 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 6.352e-06/0.8903, allocations: 0 / 0.7328 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=315): time 0.4099/1.3, allocations: 34.69 MB / 0.7666 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/1.3, allocations: 267.5 kB / 0.7669 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/1.306, allocations: 5.196 MB / 0.772 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006511/1.307, allocations: 79.56 kB / 0.772 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/1.309, allocations: 4.073 MB / 0.776 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.31, allocations: 1.216 MB / 0.7772 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001777/1.312, allocations: 1.528 MB / 0.7787 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/1.312, allocations: 305.1 kB / 0.779 GB, free: 124 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003916/1.316, allocations: 3.403 MB / 0.7823 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005713/1.322, allocations: 7.562 MB / 0.7897 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.332, allocations: 11.85 MB / 0.8013 GB, free: 97.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.943e-05/1.332, allocations: 40 kB / 0.8013 GB, free: 97.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.01901/1.351, allocations: 12.73 MB / 0.8137 GB, free: 84.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.921e-05/1.351, allocations: 67.94 kB / 0.8138 GB, free: 84.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/1.351, allocations: 144 kB / 0.8139 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004762/1.356, allocations: 2.243 MB / 0.8161 GB, free: 81.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005355/1.361, allocations: 1.716 MB / 0.8178 GB, free: 80.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.377, allocations: 16.19 MB / 0.8336 GB, free: 63.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/1.383, allocations: 455.4 kB / 0.834 GB, free: 63.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008848/1.384, allocations: 439.9 kB / 0.8345 GB, free: 62.89 MB / 0.5606 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.003715/1.387, allocations: 2.735 MB / 0.8371 GB, free: 60.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009852/1.388, allocations: 0.5045 MB / 0.8376 GB, free: 59.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.399, allocations: 7.268 MB / 0.8447 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.574e-05/1.399, allocations: 33.08 kB / 0.8448 GB, free: 52.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/1.399, allocations: 12 kB / 0.8448 GB, free: 52.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/1.399, allocations: 20.72 kB / 0.8448 GB, free: 52.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.422, allocations: 16.05 MB / 0.8605 GB, free: 36.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.422, allocations: 8 kB / 0.8605 GB, free: 36.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.424, allocations: 0.4954 MB / 0.8609 GB, free: 35.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004364/1.429, allocations: 2.003 MB / 0.8629 GB, free: 33.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003836/1.429, allocations: 67.94 kB / 0.863 GB, free: 33.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/1.445, allocations: 14.7 MB / 0.8773 GB, free: 18.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.445, allocations: 11.94 kB / 0.8773 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.46, allocations: 11.67 MB / 0.8887 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.462, allocations: 488.7 kB / 0.8892 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000745/1.462, allocations: 60 kB / 0.8892 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.465, allocations: 207.7 kB / 0.8894 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005007/1.465, allocations: 228.6 kB / 0.8897 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.465, allocations: 83.98 kB / 0.8897 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003881/1.469, allocations: 3.29 MB / 0.893 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.469, allocations: 4 kB / 0.893 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007436/1.477, allocations: 1.465 MB / 0.8944 GB, free: 0.9648 MB / 0.5606 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.02042/1.497, allocations: 12.36 MB / 0.9065 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01624/1.513, allocations: 8.113 MB / 0.9144 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.513, allocations: 4.125 kB / 0.9144 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008649/1.522, allocations: 3.871 MB / 0.9182 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/1.527, allocations: 0.6889 MB / 0.9188 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.443/1.97, allocations: 68.27 MB / 0.9855 GB, free: 227.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004924/1.974, allocations: 4.282 MB / 0.9897 GB, free: 226.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004961/1.979, allocations: 2.457 MB / 0.9921 GB, free: 226.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003393/1.983, allocations: 2.711 MB / 0.9947 GB, free: 225.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.253e-06/1.983, allocations: 0 / 0.9947 GB, free: 225.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2099/2.193, allocations: 119.2 MB / 1.111 GB, free: 115.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.33/26.53, allocations: 11.5 kB / 1.111 GB, free: 115.8 MB / 0.6544 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.845238152891397] 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'] 26.70285179791972 26.714348488 26.171703851 Calling exit ...