Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001977/0.001977, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002669/0.002669, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2591/0.2591, allocations: 46.93 MB / 360.8 MB, free: 4.25 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+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.1.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.1.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 67.91 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.357, allocations: 66.03 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006293/0.3633, allocations: 4.205 MB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.3664, allocations: 1.192 MB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.3668, allocations: 19.88 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.3671, allocations: 103 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.3676, allocations: 210.1 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.3683, allocations: 231.5 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009976/0.3693, allocations: 0.7978 MB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.3696, allocations: 171.8 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.3701, allocations: 326.8 kB / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.3706, allocations: 350.5 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.809e-05/0.3707, allocations: 56 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.3709, allocations: 91.98 kB / 0.5686 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.371, allocations: 151.4 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.3714, allocations: 354.2 kB / 0.5691 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009984/0.3724, allocations: 0.7883 MB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3724, allocations: 0 / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3724, allocations: 0 / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3724, allocations: 0 / 0.5699 GB, free: 11.36 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.00205/0.3744, allocations: 0.9564 MB / 0.5708 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3745, allocations: 12.03 kB / 0.5708 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007034/0.3752, allocations: 152.3 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.3758, allocations: 360.2 kB / 0.5713 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.3759, allocations: 41.69 kB / 0.5714 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.376, allocations: 72.31 kB / 0.5714 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3774, allocations: 0.6193 MB / 0.572 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.3774, allocations: 11.95 kB / 0.5721 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.3775, allocations: 24 kB / 0.5721 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.3775, allocations: 19.98 kB / 0.5721 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.3787, allocations: 0.5112 MB / 0.5726 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.3822, allocations: 2.109 MB / 0.5747 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.3835, allocations: 0.6648 MB / 0.5753 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.3841, allocations: 307.2 kB / 0.5756 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.3843, allocations: 32.66 kB / 0.5756 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.3843, allocations: 43 kB / 0.5757 GB, free: 5.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/0.3843, allocations: 0 / 0.5757 GB, free: 5.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008655/0.393, allocations: 3.951 MB / 0.5795 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.3931, allocations: 226.3 kB / 0.5797 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.3936, allocations: 389.9 kB / 0.5801 GB, free: 344 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.3937, allocations: 41.7 kB / 0.5802 GB, free: 296 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.394, allocations: 285.5 kB / 0.5804 GB, free: 4 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.3944, allocations: 432.4 kB / 0.5808 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.3947, allocations: 182.9 kB / 0.581 GB, free: 15.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.3949, allocations: 374.8 kB / 0.5814 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/0.3956, allocations: 314.4 kB / 0.5817 GB, free: 14.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.3965, allocations: 0.5004 MB / 0.5822 GB, free: 14.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.398, allocations: 0.8549 MB / 0.583 GB, free: 13.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.398, allocations: 4 kB / 0.583 GB, free: 13.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001905/0.3999, allocations: 0.996 MB / 0.584 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.3999, allocations: 8 kB / 0.584 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3999, allocations: 4 kB / 0.584 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.4, allocations: 12 kB / 0.584 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.401, allocations: 276 kB / 0.5843 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/0.401, allocations: 16 kB / 0.5843 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.4015, allocations: 47.97 kB / 0.5843 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/0.4015, allocations: 37.77 kB / 0.5844 GB, free: 11.82 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.0003362/0.4019, allocations: 233.5 kB / 0.5846 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.4021, allocations: 83.47 kB / 0.5847 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.4026, allocations: 230.8 kB / 0.5849 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4026, allocations: 16 kB / 0.5849 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.4026, allocations: 0 / 0.5849 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.4027, allocations: 7.984 kB / 0.5849 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/0.4069, allocations: 2.292 MB / 0.5871 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.407, allocations: 4 kB / 0.5871 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.408, allocations: 247.6 kB / 0.5874 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.918e-05/0.4081, allocations: 8 kB / 0.5874 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/0.4081, allocations: 31.98 kB / 0.5874 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.309e-05/0.4082, allocations: 11.94 kB / 0.5874 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4082, allocations: 4.281 kB / 0.5874 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.411, allocations: 1.894 MB / 0.5893 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.4114, allocations: 127.4 kB / 0.5894 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4115, allocations: 28 kB / 0.5894 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/0.4121, allocations: 35.97 kB / 0.5895 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.4123, allocations: 100.4 kB / 0.5896 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.4124, allocations: 28 kB / 0.5896 GB, free: 6.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.4127, allocations: 267.1 kB / 0.5898 GB, free: 6.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4127, allocations: 0 / 0.5898 GB, free: 6.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009174/0.4136, allocations: 192 kB / 0.59 GB, free: 5.863 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.0002318/0.4138, allocations: 151.3 kB / 0.5902 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.4156, allocations: 0.797 MB / 0.5909 GB, free: 4.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4156, allocations: 4 kB / 0.591 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008711/0.4165, allocations: 463.2 kB / 0.5914 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4177, allocations: 146.2 kB / 0.5915 GB, free: 4.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.4217, allocations: 2.229 MB / 0.5937 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008257/0.4225, allocations: 0.9479 MB / 0.5946 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004249/0.4229, allocations: 113.9 kB / 0.5947 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.4231, allocations: 63.42 kB / 0.5948 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4231, allocations: 0 / 0.5948 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of Templates: time 0.01719/0.4403, allocations: 8.169 MB / 0.6028 GB, free: 8.746 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.852067583939061]