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.0009662/0.0009662, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001025/0.001025, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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 0.9682/0.9682, allocations: 177.2 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.2539/0.2539, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] 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 1.934e-06/1.934e-06, allocations: 0 / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.81e-05, allocations: 6.25 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006041/0.006069, allocations: 4.093 MB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.008869, allocations: 1.153 MB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006196/0.009489, allocations: 19.88 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.009868, allocations: 103 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.01058, allocations: 229.9 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.0116, allocations: 235.4 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.01281, allocations: 0.8245 MB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.01321, allocations: 152.1 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009057/0.01412, allocations: 479 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.01466, allocations: 263.2 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.01481, allocations: 60 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.01504, allocations: 91.86 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.01518, allocations: 151.4 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.01548, allocations: 247.4 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.0162, allocations: 0.5487 MB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.01621, allocations: 0 / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01621, allocations: 0 / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.01622, allocations: 11.98 kB / 386.6 MB, free: 10.03 MB / 362.7 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.001302/0.01753, allocations: 1.041 MB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.01757, allocations: 11.97 kB / 387.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004125/0.01798, allocations: 180.4 kB / 387.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.01841, allocations: 382.2 kB / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.01845, allocations: 45.69 kB / 388.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.01854, allocations: 72.27 kB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.01923, allocations: 0.5033 MB / 388.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.01927, allocations: 16.14 kB / 388.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.01931, allocations: 27.94 kB / 388.9 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.01932, allocations: 12 kB / 388.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.01978, allocations: 276.8 kB / 389.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.02188, allocations: 2.154 MB / 391.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.02257, allocations: 0.5318 MB / 391.9 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.0228, allocations: 212.1 kB / 392.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.02291, allocations: 28.42 kB / 392.1 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.02294, allocations: 53.83 kB / 392.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.805e-06/0.02294, allocations: 0 / 392.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.004029/0.02697, allocations: 3.314 MB / 395.5 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.02708, allocations: 230.2 kB / 395.7 MB, free: 364 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.02746, allocations: 438.5 kB / 396.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.0275, allocations: 45.7 kB / 396.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.02768, allocations: 328.3 kB / 396.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.02793, allocations: 428.3 kB / 396.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.02812, allocations: 188.6 kB / 397.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.02832, allocations: 0.5547 MB / 397.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.02857, allocations: 150.5 kB / 397.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.02895, allocations: 409.7 kB / 398.2 MB, free: 13.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.02963, allocations: 0.6412 MB / 398.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.02963, allocations: 0 / 398.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0008965/0.03053, allocations: 0.7463 MB / 399.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.03055, allocations: 4 kB / 399.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.03057, allocations: 8.438 kB / 399.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.94e-05/0.03061, allocations: 15.94 kB / 399.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.03124, allocations: 271.6 kB / 399.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.03126, allocations: 11.94 kB / 399.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.0315, allocations: 39.98 kB / 399.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.03156, allocations: 43.98 kB / 400 MB, free: 11.84 MB / 378.7 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.0002097/0.03177, allocations: 220.3 kB / 400.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.03199, allocations: 115.5 kB / 400.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.03226, allocations: 175.1 kB / 400.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.03227, allocations: 15.94 kB / 400.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.03228, allocations: 4 kB / 400.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.03229, allocations: 7.969 kB / 400.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.03434, allocations: 2.024 MB / 402.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.03434, allocations: 4.141 kB / 402.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.03492, allocations: 243.7 kB / 402.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.03492, allocations: 11.98 kB / 402.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.03497, allocations: 24 kB / 402.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.966e-06/0.03497, allocations: 11.98 kB / 402.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.03498, allocations: 7.938 kB / 402.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.03625, allocations: 1.779 MB / 404.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.03643, allocations: 127.4 kB / 404.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.03649, allocations: 31.94 kB / 404.7 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.03677, allocations: 31.98 kB / 404.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.03689, allocations: 92.38 kB / 404.9 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.03693, allocations: 32 kB / 404.9 MB, free: 6.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.03709, allocations: 279 kB / 405.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03709, allocations: 0 / 405.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.0377, allocations: 200 kB / 405.4 MB, free: 6.281 MB / 378.7 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.0001949/0.03789, allocations: 135 kB / 405.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007329/0.03863, allocations: 0.5524 MB / 406 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.03863, allocations: 0.875 kB / 406 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.03896, allocations: 333.1 kB / 406.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.03975, allocations: 146.5 kB / 406.5 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.04214, allocations: 1.862 MB / 408.4 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.04232, allocations: 181.2 kB / 408.6 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.04259, allocations: 102 kB / 408.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.04274, allocations: 68.48 kB / 408.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.983e-06/0.04274, allocations: 0 / 408.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of Templates: time 0.01129/0.05403, allocations: 7.351 MB / 416.1 MB, free: 11.54 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4272831878624856]