Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.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.001552/0.001552, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001719/0.001719, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.49/1.49, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2371/0.2371, allocations: 46.93 MB / 361.6 MB, free: 4.297 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.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",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.002304/0.002304, allocations: 83.86 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.346, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005838/0.3518, allocations: 4.197 MB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.3543, allocations: 1.196 MB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.3547, allocations: 19.88 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.355, allocations: 106.9 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.3555, allocations: 202.1 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.3562, allocations: 235.5 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.3571, allocations: 0.7978 MB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.3574, allocations: 170 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.3579, allocations: 330.8 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.3583, allocations: 342.5 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.66e-05/0.3584, allocations: 56 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.3586, allocations: 95.92 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3588, allocations: 155.4 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.3591, allocations: 354.1 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009061/0.36, allocations: 0.7896 MB / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.36, allocations: 0 / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.36, allocations: 0 / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.36, allocations: 0 / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001896/0.3619, allocations: 0.9603 MB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.362, allocations: 12.03 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.3621, allocations: 94.7 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000664/0.3627, allocations: 148.3 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.3633, allocations: 364.2 kB / 0.5718 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.3634, allocations: 45.69 kB / 0.5719 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.3635, allocations: 68.08 kB / 0.5719 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.3646, allocations: 0.6155 MB / 0.5725 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.3646, allocations: 15.89 kB / 0.5725 GB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.3647, allocations: 24 kB / 0.5726 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.3647, allocations: 12 kB / 0.5726 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3658, allocations: 0.5152 MB / 0.5731 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.3691, allocations: 2.113 MB / 0.5751 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.3704, allocations: 0.6526 MB / 0.5758 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.371, allocations: 319.1 kB / 0.5761 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3711, allocations: 20.42 kB / 0.5761 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.3711, allocations: 46.94 kB / 0.5761 GB, free: 4.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.234e-06/0.3711, allocations: 4 kB / 0.5761 GB, free: 4.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008004/0.3791, allocations: 3.952 MB / 0.58 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.3793, allocations: 218.3 kB / 0.5802 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.3798, allocations: 385.9 kB / 0.5806 GB, free: 172 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.3798, allocations: 45.7 kB / 0.5806 GB, free: 120 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.3801, allocations: 285.5 kB / 0.5809 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.3805, allocations: 436.3 kB / 0.5813 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.3807, allocations: 182.9 kB / 0.5815 GB, free: 15.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.381, allocations: 382.8 kB / 0.5818 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/0.3817, allocations: 310.4 kB / 0.5821 GB, free: 14.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008326/0.3825, allocations: 0.5004 MB / 0.5826 GB, free: 13.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.384, allocations: 0.8584 MB / 0.5835 GB, free: 13.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.384, allocations: 4.562 kB / 0.5835 GB, free: 13.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001806/0.3858, allocations: 0.9961 MB / 0.5844 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3858, allocations: 8.438 kB / 0.5845 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3858, allocations: 8 kB / 0.5845 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.3859, allocations: 12 kB / 0.5845 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.3869, allocations: 279.6 kB / 0.5847 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.3869, allocations: 8 kB / 0.5848 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.3874, allocations: 43.97 kB / 0.5848 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.3874, allocations: 40 kB / 0.5848 GB, free: 11.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003414/0.3878, allocations: 238.4 kB / 0.5851 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.388, allocations: 91.39 kB / 0.5851 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.3885, allocations: 218.9 kB / 0.5854 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.3885, allocations: 16 kB / 0.5854 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.3885, allocations: 0 / 0.5854 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.3885, allocations: 11.97 kB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.3924, allocations: 2.288 MB / 0.5876 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.3924, allocations: 4 kB / 0.5876 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.3934, allocations: 251.9 kB / 0.5879 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.3934, allocations: 8 kB / 0.5879 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.3935, allocations: 27.98 kB / 0.5879 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.3935, allocations: 11.94 kB / 0.5879 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3935, allocations: 4 kB / 0.5879 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.3962, allocations: 1.879 MB / 0.5897 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.3965, allocations: 143.3 kB / 0.5899 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/0.3966, allocations: 28 kB / 0.5899 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.3972, allocations: 35.98 kB / 0.5899 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.3974, allocations: 88.38 kB / 0.59 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.3975, allocations: 44.05 kB / 0.5901 GB, free: 6.121 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003649/0.3978, allocations: 267.1 kB / 0.5903 GB, free: 5.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3978, allocations: 0 / 0.5903 GB, free: 5.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009641/0.3988, allocations: 196 kB / 0.5905 GB, free: 5.668 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003073/0.4019, allocations: 2.482 MB / 0.5929 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.4035, allocations: 0.7892 MB / 0.5937 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4035, allocations: 0 / 0.5937 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.4044, allocations: 468.5 kB / 0.5941 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4057, allocations: 145.2 kB / 0.5943 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.4163, allocations: 7.295 MB / 0.6014 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.417, allocations: 0.9518 MB / 0.6023 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000421/0.4174, allocations: 102 kB / 0.6024 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.4178, allocations: 271.3 kB / 0.6027 GB, free: 8.793 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4178, allocations: 0 / 0.6027 GB, free: 8.793 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04394/0.4617, allocations: 15 MB / 0.6173 GB, free: 9.934 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.796/10.26, allocations: 9.906 kB / 0.6174 GB, free: 9.93 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.307326181791723] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.s_rel', 'elastoGap.s_rel', 'elastoGap.v_rel', 'position.s', 'position.v', 'position1.s', 'position1.v', 'position2.s', 'position2.v', 'relativeStates.s_rel', 'relativeStates.v_rel', 'slidingMass.s', 'slidingMass.v', 'springDamper.s_rel', 'springDamper.v_rel'] 10.340645567979664 10.360241119 9.996458139 Calling exit ...