Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.95 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 67.89 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3459, allocations: 65.48 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005853/0.3517, allocations: 3.762 MB / 0.5619 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.3544, allocations: 1.145 MB / 0.563 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.3547, allocations: 15.88 kB / 0.563 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.355, allocations: 106.9 kB / 0.5631 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.3555, allocations: 206.1 kB / 0.5633 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.3562, allocations: 231.6 kB / 0.5635 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009812/0.3572, allocations: 0.8017 MB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.3576, allocations: 155.8 kB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.3581, allocations: 330.8 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.3585, allocations: 310.5 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3586, allocations: 60 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.3588, allocations: 99.91 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.359, allocations: 143.5 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.3593, allocations: 294.7 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009402/0.3602, allocations: 0.7923 MB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3602, allocations: 0 / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3602, allocations: 3.938 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.3603, allocations: 0 / 0.5664 GB, free: 15.02 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.002058/0.3623, allocations: 0.9487 MB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3624, allocations: 12.03 kB / 0.5673 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000729/0.3631, allocations: 152.3 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.3638, allocations: 368.1 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.3638, allocations: 37.69 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.364, allocations: 72.31 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.3651, allocations: 0.6193 MB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.3652, allocations: 11.95 kB / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.3652, allocations: 24 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3653, allocations: 16 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3664, allocations: 0.5073 MB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.3697, allocations: 1.918 MB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.371, allocations: 0.6495 MB / 0.5716 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.3717, allocations: 322 kB / 0.5719 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.3718, allocations: 20.38 kB / 0.5719 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.3718, allocations: 50.98 kB / 0.572 GB, free: 9.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.795e-06/0.3718, allocations: 7.938 kB / 0.572 GB, free: 9.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008192/0.38, allocations: 3.943 MB / 0.5758 GB, free: 4.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.3802, allocations: 222.2 kB / 0.576 GB, free: 4.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.3806, allocations: 397.8 kB / 0.5764 GB, free: 4.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.3807, allocations: 45.7 kB / 0.5765 GB, free: 4.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.3809, allocations: 273.6 kB / 0.5767 GB, free: 3.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.3813, allocations: 436.2 kB / 0.5771 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.3816, allocations: 187 kB / 0.5773 GB, free: 3.277 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.3818, allocations: 382.8 kB / 0.5777 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.3825, allocations: 306.4 kB / 0.578 GB, free: 2.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.3833, allocations: 0.4965 MB / 0.5785 GB, free: 2.027 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.3848, allocations: 0.8619 MB / 0.5793 GB, free: 1.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3848, allocations: 0 / 0.5793 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001991/0.3868, allocations: 0.9967 MB / 0.5803 GB, free: 100 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.3868, allocations: 11.94 kB / 0.5803 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3869, allocations: 4.078 kB / 0.5803 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.3869, allocations: 8 kB / 0.5803 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.3879, allocations: 288 kB / 0.5806 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/0.3879, allocations: 15.97 kB / 0.5806 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.3884, allocations: 39.98 kB / 0.5806 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.3885, allocations: 47.98 kB / 0.5807 GB, free: 15.69 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.0004075/0.3889, allocations: 229.5 kB / 0.5809 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.3892, allocations: 83.47 kB / 0.581 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.3896, allocations: 219 kB / 0.5812 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.3897, allocations: 16 kB / 0.5812 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.3897, allocations: 4 kB / 0.5812 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.3897, allocations: 4.078 kB / 0.5812 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.3935, allocations: 2.063 MB / 0.5832 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.3935, allocations: 4 kB / 0.5832 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.3946, allocations: 247.7 kB / 0.5835 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.3946, allocations: 8 kB / 0.5835 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-05/0.3946, allocations: 28.28 kB / 0.5835 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.3947, allocations: 23.86 kB / 0.5835 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.3947, allocations: 8.062 kB / 0.5835 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.3974, allocations: 1.882 MB / 0.5854 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.3978, allocations: 123.6 kB / 0.5855 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.3979, allocations: 24 kB / 0.5855 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.3985, allocations: 47.91 kB / 0.5855 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.3987, allocations: 96.36 kB / 0.5856 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.3988, allocations: 28 kB / 0.5857 GB, free: 10.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003476/0.3991, allocations: 275.1 kB / 0.5859 GB, free: 10.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3991, allocations: 0 / 0.5859 GB, free: 10.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008816/0.4, allocations: 192 kB / 0.5861 GB, free: 9.988 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.0002063/0.4002, allocations: 143.7 kB / 0.5862 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.402, allocations: 0.7967 MB / 0.587 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.402, allocations: 0 / 0.587 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008919/0.4029, allocations: 459.8 kB / 0.5875 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4042, allocations: 138.5 kB / 0.5876 GB, free: 8.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.4081, allocations: 2.265 MB / 0.5898 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.4086, allocations: 357.1 kB / 0.5901 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.4089, allocations: 75.42 kB / 0.5902 GB, free: 5.668 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4089, allocations: 4 kB / 0.5902 GB, free: 5.664 MB / 430.1 MB Notification: Performance of Templates: time 0.01702/0.4259, allocations: 9.608 MB / 0.5996 GB, free: 12.06 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.662887278944254]