Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001738/0.001738, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 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.002039/0.002039, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 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 1.596/1.596, allocations: 230.5 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2538/0.2538, allocations: 46.93 MB / 357.7 MB, free: 10.25 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-beta.om/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.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 75.86 kB / 0.4917 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1473, allocations: 66.04 MB / 0.5562 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01075/0.1581, allocations: 8.689 MB / 0.5647 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007523/0.1656, allocations: 3.494 MB / 0.5681 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.167, allocations: 51.75 kB / 0.5681 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.1698, allocations: 1.382 MB / 0.5695 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.1725, allocations: 0.9261 MB / 0.5704 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1737, allocations: 0.5069 MB / 0.5709 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.1763, allocations: 1.734 MB / 0.5726 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.178, allocations: 1.378 MB / 0.5739 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.1791, allocations: 0.6776 MB / 0.5746 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.1804, allocations: 0.9424 MB / 0.5755 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.1806, allocations: 140 kB / 0.5756 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1818, allocations: 0.5929 MB / 0.5762 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007639/0.1826, allocations: 0.7402 MB / 0.5769 GB, free: 236 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009278/0.1835, allocations: 0.8354 MB / 0.5777 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.1866, allocations: 2.483 MB / 0.5802 GB, free: 12.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1866, allocations: 0 / 0.5802 GB, free: 12.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1866, allocations: 0 / 0.5802 GB, free: 12.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-05/0.1867, allocations: 0 / 0.5802 GB, free: 12.9 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004078/0.1908, allocations: 2.058 MB / 0.5822 GB, free: 10.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1908, allocations: 12.03 kB / 0.5822 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003109/0.1911, allocations: 245.5 kB / 0.5824 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.1923, allocations: 287.5 kB / 0.5827 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.1949, allocations: 1.294 MB / 0.584 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.366e-05/0.195, allocations: 94.39 kB / 0.584 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.1952, allocations: 128 kB / 0.5842 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006179/0.2013, allocations: 2.992 MB / 0.5871 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.016e-05/0.2014, allocations: 23.83 kB / 0.5871 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.2015, allocations: 51.97 kB / 0.5872 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006871/0.2022, allocations: 438 kB / 0.5876 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00541/0.2076, allocations: 2.179 MB / 0.5897 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3331/0.5407, allocations: 10.69 MB / 0.6001 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/0.545, allocations: 1.197 MB / 0.6013 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/0.5457, allocations: 384.2 kB / 0.6017 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004099/0.5498, allocations: 3.083 MB / 0.6047 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.5498, allocations: 39.14 kB / 0.6047 GB, free: 26.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.534e-06/0.5498, allocations: 2.906 kB / 0.6047 GB, free: 26.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01241/0.5623, allocations: 3.805 MB / 0.6085 GB, free: 24.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.5623, allocations: 88.19 kB / 0.6085 GB, free: 24.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.564, allocations: 1.198 MB / 0.6097 GB, free: 24.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.564, allocations: 44.39 kB / 0.6097 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/0.5646, allocations: 0.9591 MB / 0.6107 GB, free: 23.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.5647, allocations: 229.9 kB / 0.6109 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.565, allocations: 310.8 kB / 0.6112 GB, free: 23.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.5651, allocations: 305.9 kB / 0.6115 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.5658, allocations: 412.3 kB / 0.6119 GB, free: 23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009752/0.5668, allocations: 1.247 MB / 0.6131 GB, free: 21.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.5684, allocations: 1.808 MB / 0.6149 GB, free: 20.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.5684, allocations: 10.11 kB / 0.6149 GB, free: 20.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002679/0.5711, allocations: 1.719 MB / 0.6166 GB, free: 19.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.5711, allocations: 18.47 kB / 0.6166 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/0.5712, allocations: 28.94 kB / 0.6166 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.5714, allocations: 88.09 kB / 0.6167 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.5725, allocations: 357.4 kB / 0.617 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.5738, allocations: 1.874 MB / 0.6189 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.5751, allocations: 66.58 kB / 0.6189 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.5753, allocations: 85.66 kB / 0.619 GB, free: 17.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009123/0.5762, allocations: 0.6466 MB / 0.6196 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5763, allocations: 124.7 kB / 0.6198 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.5766, allocations: 133.5 kB / 0.6199 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5766, allocations: 6.391 kB / 0.6199 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.5766, allocations: 4.906 kB / 0.6199 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.5766, allocations: 4.484 kB / 0.6199 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.5801, allocations: 2.234 MB / 0.6221 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.5801, allocations: 4.688 kB / 0.6221 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.5805, allocations: 102 kB / 0.6222 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.5807, allocations: 67.86 kB / 0.6222 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.5807, allocations: 22.75 kB / 0.6223 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.582, allocations: 1.935 MB / 0.6242 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.582, allocations: 8.906 kB / 0.6242 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.5835, allocations: 1.123 MB / 0.6253 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.5837, allocations: 187.1 kB / 0.6254 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.5838, allocations: 15.22 kB / 0.6255 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.5842, allocations: 27.55 kB / 0.6255 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.5843, allocations: 45.94 kB / 0.6255 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.5843, allocations: 22.41 kB / 0.6255 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009545/0.5853, allocations: 0.7593 MB / 0.6263 GB, free: 13.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5853, allocations: 1.688 kB / 0.6263 GB, free: 13.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001781/0.587, allocations: 290.9 kB / 0.6266 GB, free: 13.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/0.5889, allocations: 1.681 MB / 0.6282 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.5909, allocations: 1.07 MB / 0.6292 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.5909, allocations: 4.062 kB / 0.6293 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.5914, allocations: 395.5 kB / 0.6296 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.5923, allocations: 189.3 kB / 0.6298 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.6052, allocations: 11.49 MB / 0.641 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.6067, allocations: 1.447 MB / 0.6424 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.6077, allocations: 409.6 kB / 0.6428 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007406/0.6084, allocations: 0.5735 MB / 0.6434 GB, free: 13.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.874e-06/0.6084, allocations: 0 / 0.6434 GB, free: 13.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06446/0.6729, allocations: 23.18 MB / 0.666 GB, free: 6.609 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.94, allocations: 11.28 kB / 0.666 GB, free: 6.602 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.311713702976704] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 13.034510131925344 13.057769781 12.866893201 Calling exit ...