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.001567/0.001567, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.001885/0.001885, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.536/1.536, allocations: 227.4 MB / 251.7 MB, free: 72 kB / 190.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.2383/0.2383, allocations: 46.15 MB / 351.1 MB, free: 14.31 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.002266/0.002266, allocations: 78.2 kB / 489.7 MB, free: 28.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.13, allocations: 62.45 MB / 0.5392 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01073/0.1408, allocations: 8.639 MB / 0.5476 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007567/0.1484, allocations: 3.456 MB / 0.551 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.1497, allocations: 51.88 kB / 0.551 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.1525, allocations: 1.367 MB / 0.5524 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.1549, allocations: 0.9066 MB / 0.5533 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1561, allocations: 0.5147 MB / 0.5538 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002705/0.1588, allocations: 1.741 MB / 0.5555 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.1609, allocations: 1.655 MB / 0.5571 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.1619, allocations: 0.6582 MB / 0.5577 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.1631, allocations: 0.8919 MB / 0.5586 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.1634, allocations: 136 kB / 0.5587 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1646, allocations: 0.5695 MB / 0.5593 GB, free: 52 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007924/0.1654, allocations: 0.7247 MB / 0.56 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008993/0.1663, allocations: 0.8315 MB / 0.5608 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.1694, allocations: 2.483 MB / 0.5632 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1694, allocations: 0 / 0.5632 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1694, allocations: 0 / 0.5632 GB, free: 12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.109e-05/0.1694, allocations: 0 / 0.5632 GB, free: 12 MB / 430.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.00376/0.1732, allocations: 2.054 MB / 0.5652 GB, free: 9.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.1733, allocations: 12.03 kB / 0.5652 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00029/0.1736, allocations: 245.5 kB / 0.5655 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1747, allocations: 283.5 kB / 0.5657 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.177, allocations: 1.29 MB / 0.567 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/0.1771, allocations: 94.39 kB / 0.5671 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.1773, allocations: 124 kB / 0.5672 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005749/0.183, allocations: 2.996 MB / 0.5701 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.1831, allocations: 15.83 kB / 0.5702 GB, free: 4.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.1833, allocations: 59.97 kB / 0.5702 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007323/0.184, allocations: 434 kB / 0.5706 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.1889, allocations: 2.175 MB / 0.5727 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.2026, allocations: 10.71 MB / 0.5832 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004033/0.2066, allocations: 1.247 MB / 0.5844 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.2073, allocations: 419.1 kB / 0.5848 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004147/0.2115, allocations: 3.077 MB / 0.5878 GB, free: 1.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.2115, allocations: 42.94 kB / 0.5879 GB, free: 1.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 1.983e-06/0.2115, allocations: 0 / 0.5879 GB, free: 1.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01341/0.225, allocations: 3.814 MB / 0.5916 GB, free: 13.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.2251, allocations: 85.67 kB / 0.5917 GB, free: 13.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.2274, allocations: 1.194 MB / 0.5928 GB, free: 12.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.2275, allocations: 33.7 kB / 0.5929 GB, free: 12.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.2285, allocations: 0.9702 MB / 0.5938 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.2288, allocations: 230.1 kB / 0.594 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005677/0.2294, allocations: 311.4 kB / 0.5943 GB, free: 11.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2296, allocations: 305.1 kB / 0.5946 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.2306, allocations: 411.7 kB / 0.595 GB, free: 10.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.2327, allocations: 1.25 MB / 0.5962 GB, free: 8.707 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.236, allocations: 1.806 MB / 0.598 GB, free: 6.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.851e-05/0.236, allocations: 8 kB / 0.598 GB, free: 6.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004422/0.2405, allocations: 1.719 MB / 0.5997 GB, free: 4.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.2405, allocations: 25.55 kB / 0.5997 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.844e-05/0.2406, allocations: 28 kB / 0.5997 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.2409, allocations: 80.83 kB / 0.5998 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.2426, allocations: 355.8 kB / 0.6002 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.2452, allocations: 1.877 MB / 0.602 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.2469, allocations: 68.16 kB / 0.6021 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.2471, allocations: 92 kB / 0.6021 GB, free: 2.094 MB / 462.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.001513/0.2486, allocations: 0.644 MB / 0.6028 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.2489, allocations: 119.2 kB / 0.6029 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.2493, allocations: 139.7 kB / 0.603 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.2493, allocations: 4 kB / 0.603 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.2493, allocations: 4 kB / 0.603 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.2494, allocations: 3.984 kB / 0.603 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2944/0.5438, allocations: 2.233 MB / 0.6052 GB, free: 60.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.5439, allocations: 7.781 kB / 0.6052 GB, free: 60.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.5444, allocations: 99.98 kB / 0.6053 GB, free: 60.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.5447, allocations: 60.03 kB / 0.6054 GB, free: 60.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.5447, allocations: 17.83 kB / 0.6054 GB, free: 60.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.5467, allocations: 1.94 MB / 0.6073 GB, free: 58.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.5467, allocations: 4.062 kB / 0.6073 GB, free: 58.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.5487, allocations: 1.126 MB / 0.6084 GB, free: 58.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.5489, allocations: 184 kB / 0.6086 GB, free: 58.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5491, allocations: 20.2 kB / 0.6086 GB, free: 58.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.5494, allocations: 25.64 kB / 0.6086 GB, free: 58.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.5495, allocations: 54.31 kB / 0.6087 GB, free: 58.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.5495, allocations: 19.62 kB / 0.6087 GB, free: 58.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001312/0.5509, allocations: 0.7578 MB / 0.6094 GB, free: 57.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5509, allocations: 0 / 0.6094 GB, free: 57.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002091/0.553, allocations: 296.2 kB / 0.6097 GB, free: 57.88 MB / 462.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.002067/0.555, allocations: 1.687 MB / 0.6113 GB, free: 56.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.5573, allocations: 1.105 MB / 0.6124 GB, free: 56.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.5573, allocations: 1.094 kB / 0.6124 GB, free: 56.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.558, allocations: 414.6 kB / 0.6128 GB, free: 56.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.5592, allocations: 186.6 kB / 0.613 GB, free: 56.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.5765, allocations: 11.49 MB / 0.6242 GB, free: 49.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.5777, allocations: 1.448 MB / 0.6256 GB, free: 48.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001012/0.5788, allocations: 410.4 kB / 0.626 GB, free: 48.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.5793, allocations: 0.576 MB / 0.6266 GB, free: 47.79 MB / 462.1 MB Notification: Performance of SimCode: time 1.693e-06/0.5793, allocations: 0 / 0.6266 GB, free: 47.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05424/0.6335, allocations: 22.99 MB / 0.649 GB, free: 31.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.74, allocations: 12.48 kB / 0.6491 GB, free: 31.37 MB / 462.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: 15.9682466450613] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 12.834840780007653 12.844174956 12.673015095 Calling exit ...