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.001851/0.001851, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001539/0.001539, allocations: 157.7 kB / 24.26 MB, free: 172 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 1.492/1.492, allocations: 177.2 MB / 204.6 MB, free: 5.574 MB / 186.7 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.3491/0.3491, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.663e-05, allocations: 5.266 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006668/0.006705, allocations: 3.782 MB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.009769, allocations: 1.133 MB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006239/0.01039, allocations: 23.81 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.01086, allocations: 102.9 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008001/0.01166, allocations: 221.9 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009245/0.01259, allocations: 235.4 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.01416, allocations: 0.8246 MB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.0147, allocations: 152 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.01615, allocations: 478.9 kB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006742/0.01682, allocations: 263.2 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.01702, allocations: 60 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.0174, allocations: 91.92 kB / 382.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.01762, allocations: 147.4 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.01814, allocations: 247.4 kB / 383 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.01943, allocations: 0.8019 MB / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.01944, allocations: 0 / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01944, allocations: 0 / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.01949, allocations: 0 / 383.8 MB, free: 12.43 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.002846/0.02233, allocations: 0.9486 MB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.02238, allocations: 8.031 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/0.02335, allocations: 192.3 kB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.02421, allocations: 383.4 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.02427, allocations: 45.69 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.02442, allocations: 64.33 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.02605, allocations: 0.6199 MB / 386 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/0.02611, allocations: 16.09 kB / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.02618, allocations: 23.94 kB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.0262, allocations: 16 kB / 386.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.02757, allocations: 0.5073 MB / 386.6 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.03141, allocations: 1.943 MB / 388.5 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.0329, allocations: 0.6339 MB / 389.1 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007337/0.03364, allocations: 315.3 kB / 389.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.03378, allocations: 24.75 kB / 389.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/0.03383, allocations: 62.91 kB / 389.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.525e-06/0.03384, allocations: 4 kB / 389.5 MB, free: 6.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.009826/0.04366, allocations: 3.95 MB / 393.5 MB, free: 2.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.04384, allocations: 230.2 kB / 393.7 MB, free: 1.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.04445, allocations: 397.8 kB / 394.1 MB, free: 1.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.98e-05/0.04453, allocations: 41.7 kB / 394.1 MB, free: 1.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.04481, allocations: 281.5 kB / 394.4 MB, free: 1.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.04526, allocations: 436.3 kB / 394.8 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.04558, allocations: 178.9 kB / 395 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.04583, allocations: 382.8 kB / 395.4 MB, free: 240 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.04657, allocations: 310.5 kB / 395.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/0.04748, allocations: 0.4965 MB / 396.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.0492, allocations: 0.8587 MB / 397 MB, free: 14.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.04921, allocations: 4 kB / 397.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002244/0.05145, allocations: 1.047 MB / 398.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.05148, allocations: 8 kB / 398.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.0515, allocations: 4 kB / 398.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.292e-05/0.05154, allocations: 16.38 kB / 398.1 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.05271, allocations: 283.6 kB / 398.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-05/0.05274, allocations: 12 kB / 398.4 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.05328, allocations: 39.97 kB / 398.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.05339, allocations: 40 kB / 398.5 MB, free: 12.98 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.0004097/0.0538, allocations: 237.5 kB / 398.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.05413, allocations: 123.5 kB / 398.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.05472, allocations: 223.2 kB / 399.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.05474, allocations: 15.94 kB / 399.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.05476, allocations: 4 kB / 399.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.05477, allocations: 7.969 kB / 399.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/0.0593, allocations: 2.059 MB / 401.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.05931, allocations: 0 / 401.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.06048, allocations: 251.7 kB / 401.4 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-05/0.06051, allocations: 12.28 kB / 401.4 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.06059, allocations: 31.92 kB / 401.4 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/0.06061, allocations: 8 kB / 401.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.06061, allocations: 4 kB / 401.5 MB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.0638, allocations: 1.918 MB / 403.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.06416, allocations: 127.4 kB / 403.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.06428, allocations: 28 kB / 403.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/0.06494, allocations: 35.98 kB / 403.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.06515, allocations: 88.44 kB / 403.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.06522, allocations: 36.12 kB / 403.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003335/0.06556, allocations: 263.1 kB / 403.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06556, allocations: 7.938 kB / 403.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009667/0.06652, allocations: 200 kB / 404.1 MB, free: 7.215 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.0002455/0.06677, allocations: 139.1 kB / 404.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.06861, allocations: 0.8027 MB / 405.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.06862, allocations: 0 / 405.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.06957, allocations: 460.3 kB / 405.5 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.07094, allocations: 157.6 kB / 405.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.07464, allocations: 1.92 MB / 407.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.07512, allocations: 357.1 kB / 407.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.07555, allocations: 102 kB / 408 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.07577, allocations: 68.48 kB / 408.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.07577, allocations: 0 / 408.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of Templates: time 0.01681/0.09258, allocations: 7.358 MB / 415.5 MB, free: 11.88 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/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: 5.030572290997952]