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.0009157/0.0009157, allocations: 96.27 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001268/0.001268, allocations: 160.9 kB / 24.26 MB, free: 172 kB / 18.57 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 0.9124/0.9124, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2608/0.2608, allocations: 34.24 MB / 295.2 MB, free: 0.6562 MB / 266.7 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 1.793e-06/1.793e-06, allocations: 3.938 kB / 376.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.366e-05, allocations: 3.859 kB / 376.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01007/0.0101, allocations: 12.76 MB / 389.5 MB, free: 6.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008956/0.01905, allocations: 4.82 MB / 394.3 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.02152, allocations: 127.3 kB / 394.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005504/0.02702, allocations: 4.306 MB / 398.7 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00527/0.03229, allocations: 2.468 MB / 401.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.03443, allocations: 1.189 MB / 402.4 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008008/0.04243, allocations: 8.236 MB / 410.6 MB, free: 1.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005692/0.04813, allocations: 4.947 MB / 415.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004841/0.05297, allocations: 3.516 MB / 419.1 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/0.05684, allocations: 3.429 MB / 422.5 MB, free: 5.391 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007692/0.05761, allocations: 0.5 MB / 423 MB, free: 4.891 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.05937, allocations: 1.33 MB / 424.4 MB, free: 3.559 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001993/0.06137, allocations: 2.949 MB / 427.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.06363, allocations: 1.998 MB / 429.3 MB, free: 14.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008888/0.07252, allocations: 10.28 MB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.07252, allocations: 4 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.07252, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002823/0.07281, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 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.1842/0.257, allocations: 7.354 MB / 446.9 MB, free: 96.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.257, allocations: 8.062 kB / 446.9 MB, free: 96.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001807/0.2588, allocations: 0.9306 MB / 447.9 MB, free: 96.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07294/0.3318, allocations: 13.52 MB / 461.4 MB, free: 95.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008827/0.3406, allocations: 4.557 MB / 466 MB, free: 93.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.3408, allocations: 324.6 kB / 466.3 MB, free: 93.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.3422, allocations: 448.5 kB / 466.7 MB, free: 93.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.3613, allocations: 13.12 MB / 479.8 MB, free: 86.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/0.3615, allocations: 69.92 kB / 479.9 MB, free: 86.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006617/0.3622, allocations: 207.3 kB / 480.1 MB, free: 86.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00291/0.3651, allocations: 2.526 MB / 482.6 MB, free: 85.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.3809, allocations: 11.09 MB / 493.7 MB, free: 75.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04509/0.426, allocations: 49.6 MB / 0.5306 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/0.4334, allocations: 5.017 MB / 0.5355 GB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.4358, allocations: 3.119 MB / 0.5385 GB, free: 17.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.4361, allocations: 256 kB / 0.5388 GB, free: 17.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4361, allocations: 64.55 kB / 0.5388 GB, free: 16.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 4.759e-06/0.4361, allocations: 0 / 0.5388 GB, free: 16.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=315): time 0.06613/0.5022, allocations: 36.36 MB / 0.5743 GB, free: 12.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.5024, allocations: 269.3 kB / 0.5746 GB, free: 12.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007484/0.5099, allocations: 5.96 MB / 0.5804 GB, free: 6.352 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007924/0.5107, allocations: 73.7 kB / 0.5805 GB, free: 6.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.5132, allocations: 4.031 MB / 0.5844 GB, free: 2.207 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.5148, allocations: 1.201 MB / 0.5856 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002285/0.5171, allocations: 1.501 MB / 0.5871 GB, free: 15.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.5171, allocations: 305.1 kB / 0.5874 GB, free: 15.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/0.5219, allocations: 3.407 MB / 0.5907 GB, free: 11.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007909/0.5298, allocations: 7.654 MB / 0.5982 GB, free: 2.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.191/0.7208, allocations: 11.85 MB / 0.6097 GB, free: 117.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001649/0.7209, allocations: 43.34 kB / 0.6098 GB, free: 117.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=982) (initialization): time 0.01942/0.7404, allocations: 13.13 MB / 0.6226 GB, free: 113.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.7404, allocations: 68.62 kB / 0.6227 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/0.7406, allocations: 143.9 kB / 0.6228 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003453/0.7441, allocations: 2.248 MB / 0.625 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004077/0.7481, allocations: 1.715 MB / 0.6267 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.7641, allocations: 16.18 MB / 0.6425 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006711/0.7709, allocations: 0.5228 MB / 0.643 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/0.7726, allocations: 444.6 kB / 0.6434 GB, free: 104 MB / 458.7 MB 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.005133/0.7778, allocations: 2.74 MB / 0.6461 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/0.7791, allocations: 0.5983 MB / 0.6467 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008991/0.7881, allocations: 7.267 MB / 0.6538 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.747e-05/0.7882, allocations: 36.88 kB / 0.6538 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/0.7882, allocations: 11.34 kB / 0.6538 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/0.7882, allocations: 14.34 kB / 0.6538 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/0.8123, allocations: 15.41 MB / 0.6689 GB, free: 89.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/0.8123, allocations: 4 kB / 0.6689 GB, free: 89.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/0.8146, allocations: 0.5027 MB / 0.6694 GB, free: 89.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004498/0.8191, allocations: 2.004 MB / 0.6713 GB, free: 87.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000739/0.8198, allocations: 60 kB / 0.6714 GB, free: 87.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.8372, allocations: 14.69 MB / 0.6857 GB, free: 74.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.8372, allocations: 15.94 kB / 0.6857 GB, free: 74.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/0.855, allocations: 11.75 MB / 0.6972 GB, free: 62.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/0.8575, allocations: 0.5558 MB / 0.6977 GB, free: 62.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001797/0.8593, allocations: 65.86 kB / 0.6978 GB, free: 62.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003863/0.8631, allocations: 283.6 kB / 0.6981 GB, free: 61.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008736/0.864, allocations: 221.3 kB / 0.6983 GB, free: 61.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003108/0.8643, allocations: 84 kB / 0.6984 GB, free: 61.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007062/0.8714, allocations: 3.7 MB / 0.702 GB, free: 57.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.8714, allocations: 0 / 0.702 GB, free: 57.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009355/0.8808, allocations: 1.667 MB / 0.7036 GB, free: 56.13 MB / 458.7 MB 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.01292/0.8937, allocations: 12.45 MB / 0.7158 GB, free: 43.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009457/0.9031, allocations: 8.12 MB / 0.7237 GB, free: 35.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.9031, allocations: 0 / 0.7237 GB, free: 35.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004724/0.9079, allocations: 3.876 MB / 0.7275 GB, free: 31.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/0.912, allocations: 0.6986 MB / 0.7282 GB, free: 30.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2611/1.173, allocations: 70.15 MB / 0.7967 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00323/1.176, allocations: 3.78 MB / 0.8004 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004296/1.181, allocations: 2.478 MB / 0.8028 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002959/1.184, allocations: 2.726 MB / 0.8055 GB, free: 115.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.824e-06/1.184, allocations: 3.375 kB / 0.8055 GB, free: 115.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/1.311, allocations: 118 MB / 0.9207 GB, free: 19.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.5, allocations: 10.52 kB / 0.9207 GB, free: 19.14 MB / 474.7 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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: 16.609324857592583] 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'] 14.640027459710836 14.64754436 14.573232666000001 Calling exit ...