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.002379/0.002379, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002806/0.002806, allocations: 165.2 kB / 23.53 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.457/1.457, allocations: 158.6 MB / 185.3 MB, free: 2.879 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.252/0.252, allocations: 32.37 MB / 270 MB, free: 14.76 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 1.943e-06/1.943e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.615e-05, allocations: 6.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.007093/0.007129, allocations: 3.973 MB / 350.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.01047, allocations: 1.091 MB / 352 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.011, allocations: 15.88 kB / 352 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.01135, allocations: 98.95 kB / 352.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007243/0.01207, allocations: 214 kB / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008859/0.01296, allocations: 195.5 kB / 352.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.01408, allocations: 0.8168 MB / 353.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003929/0.01447, allocations: 156.1 kB / 353.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006491/0.01512, allocations: 455.1 kB / 353.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.01559, allocations: 263.2 kB / 354.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.01571, allocations: 60 kB / 354.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.01598, allocations: 83.92 kB / 354.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.01613, allocations: 151.4 kB / 354.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.01644, allocations: 239.5 kB / 354.7 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.01749, allocations: 0.7942 MB / 355.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.01749, allocations: 0 / 355.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.01749, allocations: 4 kB / 355.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.01751, allocations: 0 / 355.5 MB, free: 1.207 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.002625/0.02013, allocations: 1.052 MB / 356.5 MB, free: 116 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.02018, allocations: 8.031 kB / 356.5 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.0205, allocations: 131.8 kB / 356.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.02145, allocations: 350.4 kB / 357 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.02154, allocations: 45.69 kB / 357.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.02173, allocations: 68.28 kB / 357.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.02398, allocations: 0.6269 MB / 357.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.282e-05/0.02405, allocations: 16.12 kB / 357.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/0.02414, allocations: 20.94 kB / 357.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.02418, allocations: 20 kB / 357.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.02634, allocations: 495.1 kB / 358.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006705/0.03304, allocations: 2.335 MB / 360.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.0356, allocations: 0.7035 MB / 361.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.0368, allocations: 315.2 kB / 361.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.03699, allocations: 36.42 kB / 361.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.736e-05/0.03707, allocations: 49.89 kB / 361.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 4.478e-06/0.03708, allocations: 0 / 361.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.0153/0.05238, allocations: 3.918 MB / 365.6 MB, free: 6.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002776/0.05266, allocations: 226.2 kB / 365.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.05371, allocations: 486.6 kB / 366.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.05385, allocations: 41.7 kB / 366.4 MB, free: 5.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.05434, allocations: 340.3 kB / 366.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008398/0.05518, allocations: 452.3 kB / 367.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005574/0.05574, allocations: 212.6 kB / 367.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000629/0.05636, allocations: 0.5976 MB / 368 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.05768, allocations: 294.5 kB / 368.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.05938, allocations: 0.569 MB / 368.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/0.06271, allocations: 0.9537 MB / 369.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.06272, allocations: 0 / 369.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003844/0.06656, allocations: 1.023 MB / 370.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.06661, allocations: 8 kB / 370.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.06663, allocations: 4 kB / 370.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.225e-05/0.06668, allocations: 12 kB / 370.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.06863, allocations: 271.6 kB / 371.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.291e-05/0.06868, allocations: 15.94 kB / 371.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/0.06959, allocations: 43.92 kB / 371.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.06975, allocations: 48.23 kB / 371.2 MB, free: 0.6484 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.0006848/0.07043, allocations: 268.3 kB / 371.4 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/0.07098, allocations: 115.5 kB / 371.6 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008954/0.07187, allocations: 207.5 kB / 371.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.0719, allocations: 12 kB / 371.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.07192, allocations: 4 kB / 371.8 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.07194, allocations: 3.984 kB / 371.8 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0085/0.08044, allocations: 2.431 MB / 374.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/0.08046, allocations: 8.062 kB / 374.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/0.08267, allocations: 244 kB / 374.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.57e-05/0.08269, allocations: 8 kB / 374.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.08282, allocations: 27.98 kB / 374.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/0.08284, allocations: 8 kB / 374.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.08285, allocations: 7.938 kB / 374.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/0.0888, allocations: 2.225 MB / 376.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007507/0.08955, allocations: 127.4 kB / 376.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.08973, allocations: 24 kB / 376.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.09097, allocations: 35.98 kB / 376.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/0.09132, allocations: 92.38 kB / 377 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.09145, allocations: 35.98 kB / 377 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006601/0.09211, allocations: 307.1 kB / 377.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.09211, allocations: 0 / 377.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001734/0.09385, allocations: 200 kB / 377.5 MB, free: 10.13 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.0003999/0.09425, allocations: 139.1 kB / 377.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.09725, allocations: 0.8539 MB / 378.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.09727, allocations: 4 kB / 378.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.09867, allocations: 464.9 kB / 379 MB, free: 8.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.1009, allocations: 143.2 kB / 379.1 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/0.106, allocations: 1.955 MB / 381.1 MB, free: 6.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.1065, allocations: 340.5 kB / 381.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005832/0.1071, allocations: 93.7 kB / 381.5 MB, free: 6.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.1074, allocations: 68.48 kB / 381.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of SimCode: time 2.524e-06/0.1074, allocations: 0 / 381.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of Templates: time 0.01885/0.1262, allocations: 7.207 MB / 388.8 MB, free: 14.83 MB / 330.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] 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.229726681951433]