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.001629/0.001629, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001917/0.001917, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.545/1.545, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2472/0.2472, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.002297/0.002297, allocations: 75.88 kB / 0.4912 GB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1305, allocations: 65.99 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01057/0.141, allocations: 8.687 MB / 0.5641 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.1481, allocations: 3.487 MB / 0.5675 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009754/0.149, allocations: 43.88 kB / 0.5676 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.1518, allocations: 1.382 MB / 0.5689 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.1541, allocations: 0.93 MB / 0.5698 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1552, allocations: 0.5147 MB / 0.5704 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.1575, allocations: 1.734 MB / 0.572 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.1592, allocations: 1.374 MB / 0.5734 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009168/0.1601, allocations: 0.6621 MB / 0.574 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.1613, allocations: 0.9463 MB / 0.575 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.1615, allocations: 140 kB / 0.5751 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.1625, allocations: 0.5929 MB / 0.5757 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007098/0.1632, allocations: 0.7363 MB / 0.5764 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008101/0.164, allocations: 0.8354 MB / 0.5772 GB, free: 216 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.1668, allocations: 2.491 MB / 0.5796 GB, free: 13.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1668, allocations: 0 / 0.5796 GB, free: 13.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1668, allocations: 0 / 0.5796 GB, free: 13.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.1668, allocations: 0 / 0.5796 GB, free: 13.71 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.003766/0.1706, allocations: 2.05 MB / 0.5816 GB, free: 11.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1706, allocations: 16.02 kB / 0.5817 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003621/0.171, allocations: 241.5 kB / 0.5819 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.1724, allocations: 287.5 kB / 0.5822 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.1754, allocations: 1.298 MB / 0.5834 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.1755, allocations: 94.39 kB / 0.5835 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.1757, allocations: 128 kB / 0.5836 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005525/0.1812, allocations: 2.992 MB / 0.5866 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/0.1812, allocations: 15.83 kB / 0.5866 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.1814, allocations: 63.97 kB / 0.5866 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006274/0.182, allocations: 430 kB / 0.587 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00476/0.1868, allocations: 2.175 MB / 0.5892 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2708/0.4576, allocations: 10.7 MB / 0.5996 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.4618, allocations: 1.207 MB / 0.6008 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.4626, allocations: 369 kB / 0.6012 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004494/0.4671, allocations: 3.085 MB / 0.6042 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.4671, allocations: 44.64 kB / 0.6042 GB, free: 26.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.455e-06/0.4671, allocations: 0.5625 kB / 0.6042 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01193/0.479, allocations: 3.805 MB / 0.6079 GB, free: 25.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4791, allocations: 88.06 kB / 0.608 GB, free: 25.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.481, allocations: 1.193 MB / 0.6092 GB, free: 24.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.481, allocations: 37.25 kB / 0.6092 GB, free: 24.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.4815, allocations: 0.9686 MB / 0.6102 GB, free: 24.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.4817, allocations: 233.5 kB / 0.6104 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.482, allocations: 316.7 kB / 0.6107 GB, free: 23.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.4821, allocations: 307 kB / 0.611 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.4828, allocations: 413 kB / 0.6114 GB, free: 23.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4838, allocations: 1.249 MB / 0.6126 GB, free: 22.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.4863, allocations: 1.803 MB / 0.6143 GB, free: 20.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.084e-05/0.4863, allocations: 8.562 kB / 0.6144 GB, free: 20.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003935/0.4903, allocations: 1.712 MB / 0.616 GB, free: 20.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.4903, allocations: 23.41 kB / 0.616 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-05/0.4904, allocations: 29 kB / 0.6161 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/0.4907, allocations: 91.92 kB / 0.6162 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.4919, allocations: 356.3 kB / 0.6165 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.4935, allocations: 1.876 MB / 0.6183 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4947, allocations: 70.48 kB / 0.6184 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.4949, allocations: 85.06 kB / 0.6185 GB, free: 18.21 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.001111/0.496, allocations: 0.6397 MB / 0.6191 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.4962, allocations: 120.9 kB / 0.6192 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.4964, allocations: 137.4 kB / 0.6194 GB, free: 17.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4965, allocations: 13.14 kB / 0.6194 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.4965, allocations: 1.062 kB / 0.6194 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.4965, allocations: 2.859 kB / 0.6194 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.5012, allocations: 2.234 MB / 0.6216 GB, free: 16.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.5012, allocations: 3.938 kB / 0.6216 GB, free: 16.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.5016, allocations: 99.56 kB / 0.6216 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.5018, allocations: 69.88 kB / 0.6217 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.5019, allocations: 16.53 kB / 0.6217 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.5034, allocations: 1.933 MB / 0.6236 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.5034, allocations: 4.562 kB / 0.6236 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.5053, allocations: 1.13 MB / 0.6247 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.5057, allocations: 183.4 kB / 0.6249 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.5059, allocations: 18.77 kB / 0.6249 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.5063, allocations: 24.44 kB / 0.6249 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.5064, allocations: 55.36 kB / 0.625 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.5064, allocations: 19.53 kB / 0.625 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.5075, allocations: 0.7556 MB / 0.6258 GB, free: 13.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5075, allocations: 0 / 0.6258 GB, free: 13.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001696/0.5092, allocations: 297.4 kB / 0.626 GB, free: 13.72 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.001948/0.5111, allocations: 1.685 MB / 0.6277 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.5132, allocations: 1.072 MB / 0.6287 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.5132, allocations: 0 / 0.6287 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.5138, allocations: 395 kB / 0.6291 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5149, allocations: 193 kB / 0.6293 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.5297, allocations: 11.49 MB / 0.6405 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.531, allocations: 1.45 MB / 0.6419 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001074/0.532, allocations: 405.6 kB / 0.6423 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008833/0.5329, allocations: 0.5735 MB / 0.6429 GB, free: 14.73 MB / 462.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5329, allocations: 4 kB / 0.6429 GB, free: 14.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07105/0.604, allocations: 23.16 MB / 0.6655 GB, free: 7.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.21, allocations: 15.28 kB / 0.6655 GB, free: 7.758 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.345569046214223] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 13.305443767923862 13.328920963 13.157525811 Calling exit ...