Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009215/0.0009215, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001076/0.001076, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8953/0.8953, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2454/0.2454, allocations: 32.78 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.49e-05, allocations: 7.625 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.1925/0.1925, allocations: 12.76 MB / 452.4 MB, free: 39.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007516/0.2, allocations: 4.812 MB / 457.2 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.2016, allocations: 122.6 kB / 457.3 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.2051, allocations: 4.255 MB / 461.6 MB, free: 34.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.2086, allocations: 2.459 MB / 464 MB, free: 33.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.21, allocations: 1.176 MB / 465.2 MB, free: 32.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004952/0.215, allocations: 8.24 MB / 473.4 MB, free: 29.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.2183, allocations: 4.795 MB / 478.2 MB, free: 27.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.221, allocations: 3.521 MB / 481.7 MB, free: 25.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003244/0.2243, allocations: 3.43 MB / 485.2 MB, free: 25.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006266/0.2249, allocations: 0.4988 MB / 485.7 MB, free: 25.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.2267, allocations: 1.328 MB / 487 MB, free: 24.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.2286, allocations: 2.947 MB / 489.9 MB, free: 23.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.2303, allocations: 1.999 MB / 491.9 MB, free: 22.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009492/0.2398, allocations: 10.28 MB / 0.4905 GB, free: 17.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2398, allocations: 5.062 kB / 0.4905 GB, free: 17.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2398, allocations: 0 / 0.4905 GB, free: 17.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002101/0.24, allocations: 0 / 0.4905 GB, free: 17.54 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.01386/0.2539, allocations: 7.347 MB / 0.4976 GB, free: 12.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.2539, allocations: 9.375 kB / 0.4976 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008893/0.2548, allocations: 0.9299 MB / 0.4986 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0727/0.3275, allocations: 12.98 MB / 0.5112 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.3382, allocations: 4.51 MB / 0.5156 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.3385, allocations: 324.8 kB / 0.5159 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/0.3407, allocations: 444.1 kB / 0.5164 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/0.3623, allocations: 13.12 MB / 0.5292 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002407/0.3625, allocations: 71.41 kB / 0.5292 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009109/0.3634, allocations: 203.8 kB / 0.5294 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002806/0.3662, allocations: 2.531 MB / 0.5319 GB, free: 10.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/0.3843, allocations: 11.09 MB / 0.5427 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05619/0.4404, allocations: 49.46 MB / 0.591 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008795/0.4492, allocations: 5.018 MB / 0.5959 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003419/0.4527, allocations: 3.121 MB / 0.599 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004106/0.4531, allocations: 250.2 kB / 0.5992 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.4531, allocations: 60.56 kB / 0.5993 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.231e-06/0.4531, allocations: 0 / 0.5993 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.0663/0.5194, allocations: 35.94 MB / 0.6344 GB, free: 252 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2085/0.7279, allocations: 272 kB / 0.6347 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006563/0.7345, allocations: 5.954 MB / 0.6405 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/0.7355, allocations: 71.14 kB / 0.6405 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.7371, allocations: 4.023 MB / 0.6445 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/0.7384, allocations: 1.205 MB / 0.6456 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/0.7399, allocations: 1.508 MB / 0.6471 GB, free: 150 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.151e-05/0.7399, allocations: 304.4 kB / 0.6474 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/0.7431, allocations: 3.404 MB / 0.6507 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/0.7471, allocations: 7.668 MB / 0.6582 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009175/0.7563, allocations: 11.85 MB / 0.6698 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001757/0.7565, allocations: 40.88 kB / 0.6698 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.01943/0.7759, allocations: 12.72 MB / 0.6823 GB, free: 128 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.647e-05/0.776, allocations: 69.66 kB / 0.6823 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/0.7762, allocations: 143.3 kB / 0.6825 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/0.7803, allocations: 2.235 MB / 0.6846 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/0.7848, allocations: 1.721 MB / 0.6863 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.798, allocations: 16.13 MB / 0.7021 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006148/0.8041, allocations: 0.5282 MB / 0.7026 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/0.8053, allocations: 446.6 kB / 0.703 GB, free: 118.6 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.005103/0.8104, allocations: 2.738 MB / 0.7057 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.8115, allocations: 0.5045 MB / 0.7062 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00807/0.8196, allocations: 7.278 MB / 0.7133 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/0.8196, allocations: 35.91 kB / 0.7133 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/0.8197, allocations: 8 kB / 0.7133 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/0.8197, allocations: 18.86 kB / 0.7134 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/0.8415, allocations: 15.39 MB / 0.7284 GB, free: 96.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.8415, allocations: 8 kB / 0.7284 GB, free: 96.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.8429, allocations: 0.4967 MB / 0.7289 GB, free: 96.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/0.8457, allocations: 2.011 MB / 0.7308 GB, free: 94.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000295/0.846, allocations: 60 kB / 0.7309 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.8568, allocations: 14.65 MB / 0.7452 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8568, allocations: 15.94 kB / 0.7452 GB, free: 79.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.8683, allocations: 11.66 MB / 0.7566 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.8699, allocations: 0.5588 MB / 0.7572 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007086/0.8706, allocations: 59.98 kB / 0.7572 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.8723, allocations: 287.6 kB / 0.7575 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004444/0.8728, allocations: 213.4 kB / 0.7577 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.8729, allocations: 89.94 kB / 0.7578 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004454/0.8774, allocations: 3.692 MB / 0.7614 GB, free: 63.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.8774, allocations: 4 kB / 0.7614 GB, free: 63.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008804/0.8862, allocations: 1.668 MB / 0.763 GB, free: 61.53 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.01145/0.8976, allocations: 12.36 MB / 0.7751 GB, free: 48.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009001/0.9066, allocations: 8.127 MB / 0.783 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.9067, allocations: 0 / 0.783 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004764/0.9114, allocations: 3.864 MB / 0.7868 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/0.9156, allocations: 0.7101 MB / 0.7875 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2931/1.209, allocations: 69.62 MB / 0.8555 GB, free: 171 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004696/1.213, allocations: 3.772 MB / 0.8591 GB, free: 170.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004156/1.218, allocations: 2.48 MB / 0.8616 GB, free: 170.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003453/1.221, allocations: 2.731 MB / 0.8642 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.073e-06/1.221, allocations: 0 / 0.8642 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/1.346, allocations: 117.5 MB / 0.979 GB, free: 81.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.32, allocations: 14.94 kB / 0.979 GB, free: 81.77 MB / 0.5573 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.45461036451161] 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.460783606395125 14.473287552 14.231090909 Calling exit ...