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.001251/0.001251, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.0014/0.0014, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.524/1.524, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2328/0.2328, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.00257/0.00257, allocations: 83.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3618, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01111/0.3729, allocations: 8.714 MB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007156/0.38, allocations: 3.508 MB / 0.5735 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.3811, allocations: 51.75 kB / 0.5735 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.3838, allocations: 1.39 MB / 0.5749 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.3863, allocations: 0.9339 MB / 0.5758 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3874, allocations: 0.5224 MB / 0.5763 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.3898, allocations: 1.726 MB / 0.578 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.3913, allocations: 1.249 MB / 0.5792 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3923, allocations: 0.6737 MB / 0.5798 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.3936, allocations: 0.9424 MB / 0.5808 GB, free: 492 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.3938, allocations: 140 kB / 0.5809 GB, free: 352 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.3949, allocations: 0.589 MB / 0.5815 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000731/0.3956, allocations: 0.7519 MB / 0.5822 GB, free: 15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008076/0.3964, allocations: 0.8314 MB / 0.583 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.3992, allocations: 2.479 MB / 0.5854 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3992, allocations: 4 kB / 0.5854 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3992, allocations: 0 / 0.5854 GB, free: 11.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.172e-05/0.3993, allocations: 0 / 0.5854 GB, free: 11.67 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.003675/0.403, allocations: 1.982 MB / 0.5874 GB, free: 9.648 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.403, allocations: 8.031 kB / 0.5874 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/0.4033, allocations: 249.5 kB / 0.5876 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4044, allocations: 279.6 kB / 0.5879 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.4067, allocations: 1.23 MB / 0.5891 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.4068, allocations: 98.39 kB / 0.5892 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.407, allocations: 123.9 kB / 0.5893 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00542/0.4124, allocations: 3 MB / 0.5922 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.4125, allocations: 15.83 kB / 0.5922 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.4126, allocations: 55.97 kB / 0.5923 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006158/0.4132, allocations: 434 kB / 0.5927 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004642/0.4178, allocations: 2.175 MB / 0.5948 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.4306, allocations: 10.65 MB / 0.6052 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/0.4343, allocations: 1.196 MB / 0.6064 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/0.4349, allocations: 379 kB / 0.6068 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003625/0.4385, allocations: 2.089 MB / 0.6088 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.4386, allocations: 42.94 kB / 0.6089 GB, free: 3.078 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 1.974e-06/0.4386, allocations: 0 / 0.6089 GB, free: 3.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01144/0.45, allocations: 3.59 MB / 0.6124 GB, free: 15.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.4501, allocations: 85.61 kB / 0.6124 GB, free: 15.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.4517, allocations: 1.19 MB / 0.6136 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.4518, allocations: 37.7 kB / 0.6136 GB, free: 14.08 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/0.4525, allocations: 0.9702 MB / 0.6146 GB, free: 13.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.4527, allocations: 230.2 kB / 0.6148 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.4531, allocations: 323.3 kB / 0.6151 GB, free: 12.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4532, allocations: 301.1 kB / 0.6154 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.4539, allocations: 411.7 kB / 0.6158 GB, free: 11.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.4553, allocations: 1.246 MB / 0.617 GB, free: 10.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.4577, allocations: 1.799 MB / 0.6188 GB, free: 7.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/0.4577, allocations: 12 kB / 0.6188 GB, free: 7.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003113/0.4608, allocations: 1.715 MB / 0.6205 GB, free: 6.242 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.4608, allocations: 16 kB / 0.6205 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/0.4609, allocations: 32 kB / 0.6205 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/0.4611, allocations: 88.81 kB / 0.6206 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.4623, allocations: 355.9 kB / 0.6209 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.4643, allocations: 1.777 MB / 0.6227 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.4653, allocations: 67.98 kB / 0.6227 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.4655, allocations: 84 kB / 0.6228 GB, free: 3.715 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.0009999/0.4665, allocations: 0.6439 MB / 0.6234 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.4667, allocations: 119.2 kB / 0.6235 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.467, allocations: 143.7 kB / 0.6237 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4671, allocations: 4 kB / 0.6237 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.4671, allocations: 0 / 0.6237 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4671, allocations: 0 / 0.6237 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004909/0.472, allocations: 2.208 MB / 0.6258 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.472, allocations: 7.938 kB / 0.6259 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.4724, allocations: 99.83 kB / 0.6259 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/0.4727, allocations: 65.31 kB / 0.626 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.4727, allocations: 16 kB / 0.626 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.4751, allocations: 1.852 MB / 0.6278 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.4751, allocations: 4 kB / 0.6278 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.4771, allocations: 1.114 MB / 0.6289 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/0.4777, allocations: 107.2 kB / 0.629 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/0.478, allocations: 16 kB / 0.629 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.4785, allocations: 35.97 kB / 0.6291 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4786, allocations: 47.86 kB / 0.6291 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.4787, allocations: 20 kB / 0.6291 GB, free: 12.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.4803, allocations: 0.7596 MB / 0.6299 GB, free: 12.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4803, allocations: 0 / 0.6299 GB, free: 12.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001725/0.482, allocations: 296 kB / 0.6302 GB, free: 11.88 MB / 478.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.0022/0.4842, allocations: 1.68 MB / 0.6318 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.4862, allocations: 1.064 MB / 0.6328 GB, free: 9.043 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4862, allocations: 1.625 kB / 0.6328 GB, free: 9.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.4869, allocations: 395 kB / 0.6332 GB, free: 8.645 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4879, allocations: 184.9 kB / 0.6334 GB, free: 8.461 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.5058, allocations: 11.51 MB / 0.6446 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.5074, allocations: 1.451 MB / 0.6461 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001018/0.5084, allocations: 405.7 kB / 0.6464 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007635/0.5092, allocations: 0.589 MB / 0.647 GB, free: 9.426 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5092, allocations: 0 / 0.647 GB, free: 9.426 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06928/0.5785, allocations: 24.27 MB / 0.6707 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.76, allocations: 7.984 kB / 0.6707 GB, free: 1.328 MB / 0.4981 GB " [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.841712639201432] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 12.865929571911693 12.88773277 12.484187767 Calling exit ...