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.001809/0.001809, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.002315/0.002315, allocations: 211.6 kB / 23.48 MB, free: 5.227 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.649/1.649, allocations: 230.2 MB / 256.8 MB, free: 8.566 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.2431/0.2431, allocations: 46.89 MB / 360 MB, free: 4.711 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.002404/0.002404, allocations: 87.84 kB / 0.4951 GB, free: 8.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3333, allocations: 65.99 MB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006059/0.3393, allocations: 4.178 MB / 0.5636 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.3421, allocations: 1.196 MB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.3426, allocations: 15.94 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.343, allocations: 102.9 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006746/0.3437, allocations: 210.1 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.3445, allocations: 227.6 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.3458, allocations: 0.7978 MB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.3463, allocations: 169.3 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007133/0.347, allocations: 318.8 kB / 0.5665 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006479/0.3476, allocations: 346.5 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3478, allocations: 60 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.348, allocations: 95.92 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.3482, allocations: 147.4 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.3486, allocations: 362.1 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.3498, allocations: 0.7935 MB / 0.5683 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3498, allocations: 0 / 0.5683 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3498, allocations: 0 / 0.5683 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.3498, allocations: 0 / 0.5683 GB, free: 11.95 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.002267/0.3521, allocations: 1.036 MB / 0.5693 GB, free: 10.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.3521, allocations: 8.031 kB / 0.5693 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.3523, allocations: 98.7 kB / 0.5694 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006886/0.353, allocations: 144.3 kB / 0.5695 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.3536, allocations: 438 kB / 0.5699 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.3537, allocations: 45.69 kB / 0.57 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.3538, allocations: 68.08 kB / 0.5701 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.355, allocations: 0.6154 MB / 0.5707 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/0.355, allocations: 15.94 kB / 0.5707 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.3551, allocations: 24 kB / 0.5707 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.3551, allocations: 12 kB / 0.5707 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3562, allocations: 0.5113 MB / 0.5712 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.3598, allocations: 2.175 MB / 0.5733 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.3611, allocations: 0.653 MB / 0.574 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.3618, allocations: 318.5 kB / 0.5743 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.362, allocations: 93.55 kB / 0.5744 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.362, allocations: 46.92 kB / 0.5744 GB, free: 5.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.535e-06/0.362, allocations: 4 kB / 0.5744 GB, free: 5.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008919/0.371, allocations: 4.536 MB / 0.5788 GB, free: 444 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.3711, allocations: 218.3 kB / 0.579 GB, free: 172 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.3716, allocations: 393.8 kB / 0.5794 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.3717, allocations: 47.11 kB / 0.5795 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.3719, allocations: 281.5 kB / 0.5797 GB, free: 15.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.3723, allocations: 436.2 kB / 0.5802 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.3726, allocations: 183 kB / 0.5803 GB, free: 14.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3728, allocations: 382.8 kB / 0.5807 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/0.3735, allocations: 314.4 kB / 0.581 GB, free: 14.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.3743, allocations: 0.4926 MB / 0.5815 GB, free: 13.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.3758, allocations: 0.862 MB / 0.5823 GB, free: 12.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3758, allocations: 4 kB / 0.5823 GB, free: 12.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001935/0.3778, allocations: 0.9961 MB / 0.5833 GB, free: 11.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.3778, allocations: 10.62 kB / 0.5833 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3778, allocations: 4 kB / 0.5833 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/0.3778, allocations: 16 kB / 0.5833 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.3789, allocations: 279.6 kB / 0.5836 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.379, allocations: 15.94 kB / 0.5836 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.3794, allocations: 39.97 kB / 0.5836 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/0.3795, allocations: 40.06 kB / 0.5837 GB, free: 11.25 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.0003697/0.3799, allocations: 233.5 kB / 0.5839 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.3802, allocations: 99.39 kB / 0.584 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.3807, allocations: 219 kB / 0.5842 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3807, allocations: 12 kB / 0.5842 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3807, allocations: 0 / 0.5842 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.3807, allocations: 11.97 kB / 0.5842 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.3847, allocations: 2.318 MB / 0.5865 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.3847, allocations: 4 kB / 0.5865 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.3858, allocations: 251.9 kB / 0.5867 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.3858, allocations: 15.94 kB / 0.5867 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/0.3859, allocations: 31.98 kB / 0.5868 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.3859, allocations: 4 kB / 0.5868 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3859, allocations: 8 kB / 0.5868 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.3887, allocations: 1.881 MB / 0.5886 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.3891, allocations: 212.6 kB / 0.5888 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.3892, allocations: 24 kB / 0.5889 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006254/0.3898, allocations: 43.97 kB / 0.5889 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.39, allocations: 84.33 kB / 0.589 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/0.3901, allocations: 32 kB / 0.589 GB, free: 5.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003219/0.3904, allocations: 271.1 kB / 0.5893 GB, free: 5.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3904, allocations: 0 / 0.5893 GB, free: 5.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009374/0.3913, allocations: 203.9 kB / 0.5895 GB, free: 5.156 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.003169/0.3945, allocations: 2.461 MB / 0.5919 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.3962, allocations: 0.7997 MB / 0.5926 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3962, allocations: 0 / 0.5926 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009468/0.3972, allocations: 466.6 kB / 0.5931 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.3986, allocations: 143.9 kB / 0.5932 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.4106, allocations: 7.297 MB / 0.6004 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/0.4114, allocations: 0.9518 MB / 0.6013 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005336/0.4119, allocations: 106 kB / 0.6014 GB, free: 8.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.4124, allocations: 271.3 kB / 0.6016 GB, free: 8.285 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4124, allocations: 7.938 kB / 0.6016 GB, free: 8.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04878/0.4612, allocations: 14.32 MB / 0.6156 GB, free: 10.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.597/10.06, allocations: 4.062 kB / 0.6156 GB, free: 10.08 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.266516992007382] 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.142049190006219 10.167346704 9.812602956 Calling exit ...