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.000846/0.000846, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008754/0.0008754, allocations: 173.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 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 0.9183/0.9183, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2643/0.2643, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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 1.463e-06/1.463e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.646e-05, allocations: 10.22 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.1997/0.1997, allocations: 12.75 MB / 454.9 MB, free: 37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.2051, allocations: 4.82 MB / 459.8 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/0.2059, allocations: 122.1 kB / 459.9 MB, free: 33.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.209, allocations: 4.253 MB / 464.1 MB, free: 32.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.2113, allocations: 2.46 MB / 466.6 MB, free: 30.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.2123, allocations: 1.175 MB / 467.8 MB, free: 30.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004811/0.2171, allocations: 8.232 MB / 476 MB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.22, allocations: 4.802 MB / 480.8 MB, free: 25.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.2227, allocations: 3.522 MB / 484.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003582/0.2263, allocations: 3.425 MB / 487.8 MB, free: 22.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007214/0.227, allocations: 0.5001 MB / 488.3 MB, free: 22.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.2289, allocations: 1.333 MB / 489.6 MB, free: 22.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.2312, allocations: 2.943 MB / 492.5 MB, free: 21.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.2329, allocations: 2 MB / 494.5 MB, free: 20.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008412/0.2413, allocations: 10.29 MB / 0.493 GB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2413, allocations: 1.094 kB / 0.493 GB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2413, allocations: 0 / 0.493 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000131/0.2415, allocations: 0 / 0.493 GB, free: 14.86 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.02355/0.265, allocations: 7.351 MB / 0.5002 GB, free: 9.828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.43e-05/0.2651, allocations: 9.719 kB / 0.5002 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003528/0.2686, allocations: 0.9256 MB / 0.5011 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07572/0.3443, allocations: 12.97 MB / 0.5137 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.3544, allocations: 4.506 MB / 0.5181 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.3546, allocations: 324.8 kB / 0.5185 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001802/0.3564, allocations: 444.1 kB / 0.5189 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.3792, allocations: 13.13 MB / 0.5317 GB, free: 9.539 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003498/0.3796, allocations: 71.42 kB / 0.5318 GB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001234/0.3808, allocations: 199.8 kB / 0.532 GB, free: 9.273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003298/0.3841, allocations: 2.531 MB / 0.5344 GB, free: 6.738 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.4054, allocations: 11.09 MB / 0.5453 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06039/0.4658, allocations: 49.46 MB / 0.5936 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008839/0.4747, allocations: 5.019 MB / 0.5985 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.4781, allocations: 3.127 MB / 0.6015 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004222/0.4785, allocations: 246.2 kB / 0.6018 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.4785, allocations: 60.56 kB / 0.6018 GB, free: 472 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.432e-06/0.4785, allocations: 0 / 0.6018 GB, free: 472 kB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.2764/0.7549, allocations: 35.93 MB / 0.6369 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.755, allocations: 266.4 kB / 0.6372 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008264/0.7633, allocations: 5.951 MB / 0.643 GB, free: 139 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009466/0.7642, allocations: 72.77 kB / 0.643 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001916/0.7661, allocations: 4.032 MB / 0.647 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001465/0.7676, allocations: 1.203 MB / 0.6482 GB, free: 136 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/0.7693, allocations: 1.504 MB / 0.6496 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.7693, allocations: 310.8 kB / 0.6499 GB, free: 135 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/0.7727, allocations: 3.402 MB / 0.6532 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005216/0.7779, allocations: 7.661 MB / 0.6607 GB, free: 127 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.7893, allocations: 11.85 MB / 0.6723 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001656/0.7894, allocations: 43.34 kB / 0.6723 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02341/0.8128, allocations: 12.72 MB / 0.6848 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.8129, allocations: 67.44 kB / 0.6848 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002239/0.8132, allocations: 142.7 kB / 0.685 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/0.8173, allocations: 2.245 MB / 0.6872 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005143/0.8225, allocations: 1.722 MB / 0.6888 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.8358, allocations: 16.13 MB / 0.7046 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/0.842, allocations: 0.5318 MB / 0.7051 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/0.8434, allocations: 447.3 kB / 0.7055 GB, free: 103.4 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.004882/0.8483, allocations: 2.747 MB / 0.7082 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/0.8495, allocations: 0.5006 MB / 0.7087 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007779/0.8573, allocations: 7.267 MB / 0.7158 GB, free: 94.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/0.8573, allocations: 32 kB / 0.7158 GB, free: 94.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/0.8573, allocations: 8 kB / 0.7158 GB, free: 94.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/0.8574, allocations: 20.73 kB / 0.7159 GB, free: 94.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0206/0.878, allocations: 15.41 MB / 0.7309 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.878, allocations: 8 kB / 0.7309 GB, free: 80.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.8792, allocations: 0.496 MB / 0.7314 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00276/0.882, allocations: 2.016 MB / 0.7334 GB, free: 77.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.8822, allocations: 60 kB / 0.7334 GB, free: 77.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.8929, allocations: 14.64 MB / 0.7477 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.8929, allocations: 11.94 kB / 0.7477 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.9038, allocations: 11.66 MB / 0.7591 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/0.9055, allocations: 0.555 MB / 0.7597 GB, free: 50.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005069/0.906, allocations: 60 kB / 0.7597 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.9076, allocations: 287.5 kB / 0.76 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004309/0.908, allocations: 213.4 kB / 0.7602 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.9082, allocations: 91.11 kB / 0.7603 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005953/0.9142, allocations: 3.696 MB / 0.7639 GB, free: 45.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.9142, allocations: 0.7656 kB / 0.7639 GB, free: 45.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00706/0.9212, allocations: 1.672 MB / 0.7655 GB, free: 44.28 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.01104/0.9323, allocations: 12.36 MB / 0.7776 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009365/0.9416, allocations: 8.121 MB / 0.7855 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.9416, allocations: 0 / 0.7855 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004453/0.9461, allocations: 3.875 MB / 0.7893 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004031/0.9501, allocations: 0.7023 MB / 0.79 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3029/1.253, allocations: 69.63 MB / 0.858 GB, free: 184.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004328/1.257, allocations: 3.774 MB / 0.8617 GB, free: 184 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00458/1.262, allocations: 2.478 MB / 0.8641 GB, free: 183.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005336/1.267, allocations: 2.728 MB / 0.8668 GB, free: 181.7 MB / 0.573 GB Notification: Performance of SimCode: time 2.515e-06/1.267, allocations: 0 / 0.8668 GB, free: 181.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/1.407, allocations: 117.5 MB / 0.9815 GB, free: 94.48 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.98, allocations: 7.938 kB / 0.9815 GB, free: 94.48 MB / 0.573 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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: 15.190887845121324] 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.12164933141321 13.13120779 12.886740168 Calling exit ...