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.001496/0.001496, allocations: 106.5 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.001472/0.001472, allocations: 213.2 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.497/1.497, allocations: 230.3 MB / 258 MB, free: 8.23 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.2348/0.2348, allocations: 46.95 MB / 361.4 MB, free: 4.398 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="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",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="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",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents") [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.002557/0.002557, allocations: 75.88 kB / 0.4972 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3494, allocations: 66.03 MB / 0.5616 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006635/0.356, allocations: 4.209 MB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.3589, allocations: 1.192 MB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007219/0.3596, allocations: 23.81 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.36, allocations: 98.95 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008495/0.3609, allocations: 210.1 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.3618, allocations: 227.6 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.363, allocations: 0.8017 MB / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.3634, allocations: 170.9 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.3639, allocations: 334.8 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.3644, allocations: 342.5 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3645, allocations: 56 kB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.3647, allocations: 91.98 kB / 0.5692 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.3649, allocations: 147.5 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.3652, allocations: 354.2 kB / 0.5697 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.3662, allocations: 0.7892 MB / 0.5704 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3662, allocations: 3.984 kB / 0.5704 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3662, allocations: 0 / 0.5704 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.3663, allocations: 4 kB / 0.5704 GB, free: 11.5 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.002131/0.3684, allocations: 0.9487 MB / 0.5714 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3684, allocations: 12.03 kB / 0.5714 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.3691, allocations: 152.3 kB / 0.5715 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.3698, allocations: 368.1 kB / 0.5719 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.3698, allocations: 45.69 kB / 0.5719 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3699, allocations: 68.31 kB / 0.572 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.3711, allocations: 0.6232 MB / 0.5726 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.3712, allocations: 7.953 kB / 0.5726 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.3712, allocations: 20 kB / 0.5726 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.3712, allocations: 19.94 kB / 0.5726 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3724, allocations: 0.5151 MB / 0.5731 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.3758, allocations: 2.117 MB / 0.5752 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.3771, allocations: 0.6528 MB / 0.5758 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.3777, allocations: 322.5 kB / 0.5761 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.3778, allocations: 16.42 kB / 0.5762 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.3779, allocations: 46.94 kB / 0.5762 GB, free: 5.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.695e-06/0.3779, allocations: 4 kB / 0.5762 GB, free: 5.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.00793/0.3858, allocations: 3.948 MB / 0.5801 GB, free: 1.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.386, allocations: 226.2 kB / 0.5803 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.3864, allocations: 385.9 kB / 0.5806 GB, free: 500 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.3865, allocations: 45.7 kB / 0.5807 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3867, allocations: 281.5 kB / 0.581 GB, free: 160 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.3871, allocations: 436.4 kB / 0.5814 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.3873, allocations: 183 kB / 0.5816 GB, free: 15.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3875, allocations: 386.8 kB / 0.5819 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006684/0.3882, allocations: 306.4 kB / 0.5822 GB, free: 14.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000796/0.389, allocations: 0.4965 MB / 0.5827 GB, free: 14.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.3905, allocations: 0.8583 MB / 0.5835 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3905, allocations: 0 / 0.5835 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001837/0.3924, allocations: 0.9921 MB / 0.5845 GB, free: 12.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3924, allocations: 8 kB / 0.5845 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3924, allocations: 4 kB / 0.5845 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.3924, allocations: 12.44 kB / 0.5845 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.3934, allocations: 283.9 kB / 0.5848 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/0.3935, allocations: 15.94 kB / 0.5848 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.3939, allocations: 43.97 kB / 0.5849 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-05/0.394, allocations: 43.94 kB / 0.5849 GB, free: 11.96 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.0004279/0.3944, allocations: 233.5 kB / 0.5851 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.3946, allocations: 83.47 kB / 0.5852 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.3951, allocations: 223 kB / 0.5854 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.3951, allocations: 12 kB / 0.5854 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.3952, allocations: 8.047 kB / 0.5854 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.3952, allocations: 11.92 kB / 0.5854 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.3991, allocations: 2.285 MB / 0.5877 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.3991, allocations: 4 kB / 0.5877 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.4001, allocations: 247.6 kB / 0.5879 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.4001, allocations: 8.281 kB / 0.5879 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.4002, allocations: 35.98 kB / 0.588 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.4002, allocations: 8 kB / 0.588 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.4002, allocations: 7.938 kB / 0.588 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.4029, allocations: 1.89 MB / 0.5898 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.4031, allocations: 131.4 kB / 0.5899 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.4032, allocations: 24 kB / 0.59 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.4038, allocations: 43.97 kB / 0.59 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.404, allocations: 88.39 kB / 0.5901 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.404, allocations: 35.98 kB / 0.5901 GB, free: 6.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.4043, allocations: 267.3 kB / 0.5904 GB, free: 6.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4043, allocations: 4 kB / 0.5904 GB, free: 6.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008932/0.4052, allocations: 195.9 kB / 0.5906 GB, free: 5.996 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.0002052/0.4054, allocations: 143.1 kB / 0.5907 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.407, allocations: 0.7928 MB / 0.5915 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.407, allocations: 4 kB / 0.5915 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.4078, allocations: 468.2 kB / 0.5919 GB, free: 4.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.409, allocations: 142.4 kB / 0.5921 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.4128, allocations: 2.233 MB / 0.5942 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.4135, allocations: 0.9479 MB / 0.5952 GB, free: 1.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000415/0.4139, allocations: 102 kB / 0.5953 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.4141, allocations: 67.42 kB / 0.5953 GB, free: 1 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4141, allocations: 0 / 0.5953 GB, free: 1 MB / 430.1 MB Notification: Performance of Templates: time 0.01699/0.4311, allocations: 8.166 MB / 0.6033 GB, free: 8.891 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6233287220820785]