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.000971/0.000971, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0009879/0.0009879, allocations: 166.3 kB / 23.96 MB, free: 0.6055 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 0.8117/0.8117, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1232/0.1232, allocations: 32.38 MB / 270.3 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.064e-06/2.064e-06, allocations: 0 / 408.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.016e-05, allocations: 2.281 kB / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003304/0.003335, allocations: 3.704 MB / 411.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.004943, allocations: 1.079 MB / 412.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.005153, allocations: 19.81 kB / 412.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.005365, allocations: 98.95 kB / 413 MB, free: 12.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.005697, allocations: 222 kB / 413.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.006181, allocations: 195.5 kB / 413.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005994/0.00678, allocations: 0.8092 MB / 414.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.007039, allocations: 156.1 kB / 414.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.007425, allocations: 459 kB / 414.8 MB, free: 11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.007857, allocations: 259.2 kB / 415 MB, free: 10.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.007919, allocations: 56 kB / 415.1 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.008038, allocations: 83.98 kB / 415.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/0.008131, allocations: 151.4 kB / 415.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.008291, allocations: 239.4 kB / 415.6 MB, free: 10.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.008882, allocations: 0.7864 MB / 416.3 MB, free: 9.438 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.008885, allocations: 0 / 416.3 MB, free: 9.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.008887, allocations: 0 / 416.3 MB, free: 9.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.008895, allocations: 0 / 416.3 MB, free: 9.438 MB / 394.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.001184/0.01008, allocations: 0.9332 MB / 417.3 MB, free: 8.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.01012, allocations: 12.03 kB / 417.3 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.0102, allocations: 76.47 kB / 417.4 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.01056, allocations: 347.5 kB / 417.7 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.01058, allocations: 37.69 kB / 417.7 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.01066, allocations: 72.31 kB / 417.8 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.01137, allocations: 0.6231 MB / 418.4 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.01139, allocations: 8.141 kB / 418.4 MB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.01142, allocations: 24.38 kB / 418.5 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01144, allocations: 19.94 kB / 418.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.01211, allocations: 0.5216 MB / 419 MB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.01391, allocations: 1.914 MB / 420.9 MB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.01476, allocations: 0.6725 MB / 421.6 MB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.01511, allocations: 315.3 kB / 421.9 MB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.21e-05/0.0152, allocations: 20.48 kB / 421.9 MB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.01538, allocations: 54.89 kB / 422 MB, free: 3.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.01538, allocations: 0 / 422 MB, free: 3.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.004441/0.01982, allocations: 3.957 MB / 425.9 MB, free: 15.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.0199, allocations: 222.2 kB / 426.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.02018, allocations: 373.8 kB / 426.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.02022, allocations: 49.7 kB / 426.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.02035, allocations: 269.5 kB / 426.8 MB, free: 14.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.02054, allocations: 424.3 kB / 427.2 MB, free: 13.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.0207, allocations: 174.9 kB / 427.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.02082, allocations: 386.5 kB / 427.8 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.02121, allocations: 314.4 kB / 428.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.02168, allocations: 0.5121 MB / 428.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.02272, allocations: 0.8628 MB / 429.5 MB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02272, allocations: 0 / 429.5 MB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001061/0.02378, allocations: 1.009 MB / 430.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.0238, allocations: 8 kB / 430.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.02381, allocations: 4 kB / 430.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.02383, allocations: 12.09 kB / 430.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.02436, allocations: 287.5 kB / 430.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.02437, allocations: 12 kB / 430.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.02458, allocations: 60.12 kB / 430.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.02463, allocations: 39.98 kB / 430.9 MB, free: 10.18 MB / 410.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.0002036/0.02484, allocations: 225.7 kB / 431.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.02495, allocations: 79.52 kB / 431.2 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.02521, allocations: 222.8 kB / 431.4 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.02522, allocations: 12 kB / 431.4 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.02523, allocations: 3.938 kB / 431.4 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.02524, allocations: 11.97 kB / 431.4 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.02736, allocations: 2.057 MB / 433.5 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.02737, allocations: 4 kB / 433.5 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/0.02792, allocations: 251.7 kB / 433.7 MB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.02793, allocations: 12 kB / 433.8 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.02797, allocations: 31.98 kB / 433.8 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.02798, allocations: 7.938 kB / 433.8 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.02798, allocations: 12.28 kB / 433.8 MB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.02956, allocations: 1.898 MB / 435.7 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.02973, allocations: 119.5 kB / 435.8 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.02979, allocations: 28 kB / 435.8 MB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.03009, allocations: 44.16 kB / 435.9 MB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.0302, allocations: 92.38 kB / 436 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.03024, allocations: 35.94 kB / 436 MB, free: 4.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000358/0.0306, allocations: 247.1 kB / 436.3 MB, free: 4.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0306, allocations: 4 kB / 436.3 MB, free: 4.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005901/0.03119, allocations: 204.1 kB / 436.5 MB, free: 4.48 MB / 410.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.0002104/0.0314, allocations: 127.1 kB / 436.6 MB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.03246, allocations: 0.8086 MB / 437.4 MB, free: 3.535 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.03246, allocations: 4 kB / 437.4 MB, free: 3.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.03297, allocations: 471.9 kB / 437.9 MB, free: 3.074 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.03379, allocations: 133.9 kB / 438 MB, free: 2.949 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.03613, allocations: 1.923 MB / 439.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.03641, allocations: 348.5 kB / 440.3 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.03659, allocations: 68.48 kB / 440.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.03659, allocations: 0 / 440.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of Templates: time 0.009271/0.04586, allocations: 9.38 MB / 449.7 MB, free: 7.109 MB / 426.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.133901616558433]