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.000831/0.000831, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0008471/0.0008471, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 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.8982/0.8982, allocations: 177 MB / 204.1 MB, free: 5.734 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.2678/0.2678, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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.443e-06/1.443e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.822e-05, allocations: 2.281 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.2048/0.2049, allocations: 12.76 MB / 454.9 MB, free: 36.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007925/0.2128, allocations: 4.821 MB / 459.8 MB, free: 33.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.2155, allocations: 120 kB / 459.9 MB, free: 33.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004411/0.2199, allocations: 4.248 MB / 464.1 MB, free: 32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005879/0.2257, allocations: 2.47 MB / 466.6 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.2277, allocations: 1.16 MB / 467.7 MB, free: 30.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007067/0.2347, allocations: 8.24 MB / 476 MB, free: 27.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004408/0.2392, allocations: 4.811 MB / 480.8 MB, free: 25.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005329/0.2445, allocations: 3.516 MB / 484.3 MB, free: 23.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005836/0.2503, allocations: 3.429 MB / 487.7 MB, free: 22.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.2523, allocations: 0.5002 MB / 488.2 MB, free: 22.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.256, allocations: 1.321 MB / 489.6 MB, free: 22.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003944/0.2599, allocations: 2.951 MB / 492.5 MB, free: 21.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00448/0.2644, allocations: 2 MB / 494.5 MB, free: 20.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.2783, allocations: 10.28 MB / 0.493 GB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2783, allocations: 0 / 0.493 GB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2783, allocations: 5.156 kB / 0.493 GB, free: 14.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003778/0.2787, allocations: 0 / 0.493 GB, free: 14.71 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.01974/0.2984, allocations: 7.347 MB / 0.5001 GB, free: 9.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2984, allocations: 9.969 kB / 0.5002 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00262/0.3011, allocations: 0.933 MB / 0.5011 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07128/0.3723, allocations: 12.97 MB / 0.5137 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.3827, allocations: 4.502 MB / 0.5181 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.383, allocations: 328.8 kB / 0.5184 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/0.385, allocations: 440.1 kB / 0.5189 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.4069, allocations: 13.12 MB / 0.5317 GB, free: 9.363 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002112/0.4071, allocations: 67.47 kB / 0.5317 GB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005169/0.4076, allocations: 207.8 kB / 0.5319 GB, free: 9.094 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002736/0.4104, allocations: 2.527 MB / 0.5344 GB, free: 6.562 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.4281, allocations: 11.1 MB / 0.5452 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0585/0.4866, allocations: 49.46 MB / 0.5935 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008493/0.4951, allocations: 5.04 MB / 0.5985 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/0.4984, allocations: 3.117 MB / 0.6015 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/0.4987, allocations: 242.3 kB / 0.6017 GB, free: 364 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.4988, allocations: 56.56 kB / 0.6018 GB, free: 296 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.412e-06/0.4988, allocations: 3.938 kB / 0.6018 GB, free: 292 kB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.3046/0.8034, allocations: 35.94 MB / 0.6369 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.8035, allocations: 266.5 kB / 0.6372 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007224/0.8108, allocations: 5.959 MB / 0.643 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000966/0.8117, allocations: 73.64 kB / 0.643 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.8135, allocations: 4.022 MB / 0.647 GB, free: 147 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001828/0.8153, allocations: 1.204 MB / 0.6481 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/0.8171, allocations: 1.509 MB / 0.6496 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.8171, allocations: 301.1 kB / 0.6499 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/0.8209, allocations: 3.409 MB / 0.6532 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/0.826, allocations: 7.661 MB / 0.6607 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.837, allocations: 11.86 MB / 0.6723 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001678/0.8372, allocations: 40.84 kB / 0.6723 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02551/0.8627, allocations: 12.72 MB / 0.6848 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.8628, allocations: 66.69 kB / 0.6848 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/0.8631, allocations: 144.8 kB / 0.685 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004027/0.8671, allocations: 2.243 MB / 0.6872 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/0.872, allocations: 1.716 MB / 0.6888 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.886, allocations: 16.13 MB / 0.7046 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006531/0.8926, allocations: 0.5304 MB / 0.7051 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/0.8941, allocations: 446.5 kB / 0.7055 GB, free: 113.3 MB / 0.5261 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.0053/0.8994, allocations: 2.745 MB / 0.7082 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/0.9006, allocations: 0.5006 MB / 0.7087 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0078/0.9084, allocations: 7.266 MB / 0.7158 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/0.9084, allocations: 35.7 kB / 0.7158 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.9084, allocations: 12 kB / 0.7158 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.9084, allocations: 10.97 kB / 0.7158 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.9266, allocations: 15.4 MB / 0.7309 GB, free: 91.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.9266, allocations: 4 kB / 0.7309 GB, free: 91.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.9279, allocations: 0.4992 MB / 0.7314 GB, free: 90.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002752/0.9306, allocations: 2.012 MB / 0.7333 GB, free: 88.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/0.9309, allocations: 56 kB / 0.7334 GB, free: 88.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.9419, allocations: 14.65 MB / 0.7477 GB, free: 73.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.9419, allocations: 8 kB / 0.7477 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.9535, allocations: 11.66 MB / 0.7591 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/0.9558, allocations: 0.5588 MB / 0.7596 GB, free: 61.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006625/0.9565, allocations: 63.98 kB / 0.7597 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/0.9582, allocations: 287.6 kB / 0.76 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/0.9587, allocations: 213.4 kB / 0.7602 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.9588, allocations: 87.98 kB / 0.7603 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004101/0.9629, allocations: 3.696 MB / 0.7639 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9629, allocations: 0 / 0.7639 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006859/0.9698, allocations: 1.672 MB / 0.7655 GB, free: 55.22 MB / 0.5261 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.01095/0.9807, allocations: 12.37 MB / 0.7776 GB, free: 42.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009515/0.9903, allocations: 8.112 MB / 0.7855 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.9903, allocations: 0 / 0.7855 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004558/0.9948, allocations: 3.859 MB / 0.7893 GB, free: 30.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/0.9984, allocations: 0.7048 MB / 0.79 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2971/1.296, allocations: 69.63 MB / 0.858 GB, free: 159.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005171/1.301, allocations: 3.776 MB / 0.8617 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00508/1.306, allocations: 2.476 MB / 0.8641 GB, free: 158 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004703/1.311, allocations: 2.73 MB / 0.8667 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.833e-06/1.311, allocations: 0 / 0.8667 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/1.453, allocations: 117.5 MB / 0.9815 GB, free: 65.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.76, allocations: 3.594 kB / 0.9815 GB, free: 65.91 MB / 0.5573 GB " [Timeout remaining time 646] (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: 15.93901807256043] 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.901743399910629 13.908499657 13.628516226 Calling exit ...