Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001449/0.001449, allocations: 92.22 kB / 20.2 MB, free: 4.207 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.001586/0.001586, allocations: 161.7 kB / 23.52 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2301/0.2301, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.027e-05, allocations: 4.844 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003997/0.004027, allocations: 3.704 MB / 350.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.006019, allocations: 1.087 MB / 351.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.006325, allocations: 15.88 kB / 351.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.006546, allocations: 102.9 kB / 351.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.006904, allocations: 214.1 kB / 352 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.007415, allocations: 199.5 kB / 352.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005717/0.007987, allocations: 0.8091 MB / 353 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.008258, allocations: 156.1 kB / 353.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.008657, allocations: 459 kB / 353.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.008953, allocations: 255.2 kB / 353.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.009031, allocations: 56 kB / 353.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.009203, allocations: 87.97 kB / 354 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.009307, allocations: 147.4 kB / 354.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.00949, allocations: 235.5 kB / 354.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.01011, allocations: 0.7941 MB / 355.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01011, allocations: 4 kB / 355.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01011, allocations: 0 / 355.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.01012, allocations: 0 / 355.2 MB, free: 1.5 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001668/0.01179, allocations: 0.9254 MB / 356.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.01183, allocations: 16.03 kB / 356.1 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.01201, allocations: 128.4 kB / 356.3 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.01248, allocations: 343.5 kB / 356.6 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.01256, allocations: 49.67 kB / 356.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.01269, allocations: 68.27 kB / 356.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.0142, allocations: 0.6232 MB / 357.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.01425, allocations: 16.03 kB / 357.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.01432, allocations: 24.38 kB / 357.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.01434, allocations: 19.94 kB / 357.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.01569, allocations: 0.5177 MB / 357.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.01924, allocations: 1.922 MB / 359.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.02076, allocations: 0.657 MB / 360.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/0.02147, allocations: 323.3 kB / 360.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.02162, allocations: 28.48 kB / 360.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.02168, allocations: 58.88 kB / 360.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 3.537e-06/0.02168, allocations: 0 / 360.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.009531/0.03121, allocations: 3.967 MB / 364.9 MB, free: 7.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.03141, allocations: 222.2 kB / 365.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.03195, allocations: 369.9 kB / 365.4 MB, free: 6.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.03202, allocations: 49.64 kB / 365.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.03227, allocations: 269.5 kB / 365.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/0.0327, allocations: 428.3 kB / 366.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.03305, allocations: 175 kB / 366.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.03333, allocations: 386.7 kB / 366.7 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007513/0.03408, allocations: 318.5 kB / 367 MB, free: 5.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009104/0.03499, allocations: 0.5043 MB / 367.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.03671, allocations: 0.8646 MB / 368.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.03671, allocations: 0 / 368.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002261/0.03898, allocations: 1.062 MB / 369.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.039, allocations: 8 kB / 369.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.03902, allocations: 4 kB / 369.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/0.03905, allocations: 12 kB / 369.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.0402, allocations: 288 kB / 369.8 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/0.04022, allocations: 15.92 kB / 369.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.04076, allocations: 51.91 kB / 369.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/0.04085, allocations: 36 kB / 369.9 MB, free: 2.125 MB / 298.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 (144): * Single equations (assignments): 144 * 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.0003795/0.04123, allocations: 233.6 kB / 370.1 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.04153, allocations: 107.6 kB / 370.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.04223, allocations: 226.8 kB / 370.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.04225, allocations: 12 kB / 370.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.04226, allocations: 3.938 kB / 370.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.04228, allocations: 11.97 kB / 370.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.04645, allocations: 2.071 MB / 372.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.04646, allocations: 4 kB / 372.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.04762, allocations: 251.9 kB / 372.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.04764, allocations: 8 kB / 372.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.04772, allocations: 28 kB / 372.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.669e-05/0.04773, allocations: 15.92 kB / 372.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.04774, allocations: 4 kB / 372.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003246/0.05099, allocations: 1.931 MB / 374.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.05132, allocations: 123.5 kB / 374.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.05142, allocations: 31.98 kB / 374.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/0.05208, allocations: 43.97 kB / 374.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.05228, allocations: 92.52 kB / 375 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.05234, allocations: 32 kB / 375.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003332/0.05268, allocations: 251.1 kB / 375.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05268, allocations: 4 kB / 375.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009426/0.05362, allocations: 196.1 kB / 375.5 MB, free: 12.34 MB / 314.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 (115): * Single equations (assignments): 115 * 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.0002319/0.05385, allocations: 135 kB / 375.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.05568, allocations: 0.8126 MB / 376.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.05569, allocations: 4 kB / 376.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.05666, allocations: 471.2 kB / 376.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.05798, allocations: 152.2 kB / 377.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.06194, allocations: 1.907 MB / 379 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.06242, allocations: 352.5 kB / 379.3 MB, free: 8.426 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.06285, allocations: 93.77 kB / 379.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.06306, allocations: 64.48 kB / 379.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.06306, allocations: 4 kB / 379.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of Templates: time 0.01615/0.07922, allocations: 7.195 MB / 386.7 MB, free: 1.148 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.1671579730464146]