Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 154.9 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 173.4 MB / 201 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 47.06 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09222, allocations: 52.17 MB / 371.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004556/0.09678, allocations: 3.226 MB / 374.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.09822, allocations: 0.8412 MB / 375.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.09839, allocations: 23.81 kB / 375.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.09859, allocations: 79.22 kB / 375.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.09885, allocations: 146.6 kB / 375.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.09927, allocations: 155.7 kB / 376 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.09988, allocations: 0.5957 MB / 376.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.1001, allocations: 134 kB / 376.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.1005, allocations: 247.2 kB / 377 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.1008, allocations: 238.9 kB / 377.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.1009, allocations: 52 kB / 377.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.101, allocations: 52 kB / 377.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1011, allocations: 115.6 kB / 377.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.1013, allocations: 231 kB / 377.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.1019, allocations: 0.603 MB / 378.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1019, allocations: 3.984 kB / 378.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1019, allocations: 4 kB / 378.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.102, allocations: 0 / 378.3 MB, free: 0.6172 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00166/0.1036, allocations: 0.7856 MB / 379.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1036, allocations: 8.922 kB / 379.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1037, allocations: 60.55 kB / 379.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.1042, allocations: 261.2 kB / 379.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/0.1043, allocations: 37.38 kB / 379.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.1044, allocations: 52.33 kB / 379.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.1053, allocations: 458.6 kB / 379.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.1054, allocations: 7.984 kB / 379.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.1054, allocations: 20 kB / 380 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1054, allocations: 8 kB / 380 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1065, allocations: 451.7 kB / 380.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.1088, allocations: 1.157 MB / 381.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.1098, allocations: 0.5054 MB / 382.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.1106, allocations: 340 kB / 382.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/0.1106, allocations: 12.64 kB / 382.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1107, allocations: 47.16 kB / 382.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.645e-06/0.1107, allocations: 0 / 382.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=103): time 0.007536/0.1182, allocations: 3.007 MB / 385.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.1183, allocations: 68.34 kB / 385.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1185, allocations: 233.9 kB / 385.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.1186, allocations: 45.7 kB / 385.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1187, allocations: 201.5 kB / 386 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.119, allocations: 360.9 kB / 386.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.1192, allocations: 154.5 kB / 386.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1194, allocations: 358.8 kB / 386.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.12, allocations: 273.9 kB / 387.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/0.1207, allocations: 353.4 kB / 387.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.1219, allocations: 0.6234 MB / 388.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1219, allocations: 0 / 388.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001531/0.1235, allocations: 0.7823 MB / 388.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1235, allocations: 4 kB / 388.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1235, allocations: 0 / 388.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.1235, allocations: 8 kB / 388.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/0.1244, allocations: 211.6 kB / 389.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.1244, allocations: 4 kB / 389.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.1248, allocations: 51.95 kB / 389.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.1249, allocations: 24 kB / 389.2 MB, free: 5.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0003179/0.1252, allocations: 201.6 kB / 389.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1253, allocations: 51.67 kB / 389.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.1255, allocations: 73.36 kB / 389.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.1255, allocations: 19.92 kB / 389.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.1255, allocations: 0 / 389.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.1255, allocations: 3.984 kB / 389.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.129, allocations: 1.762 MB / 391.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.129, allocations: 4 kB / 391.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/0.1298, allocations: 207.7 kB / 391.5 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.1299, allocations: 8.562 kB / 391.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/0.1299, allocations: 27.98 kB / 391.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.1299, allocations: 15.98 kB / 391.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.1299, allocations: 11.88 kB / 391.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.1325, allocations: 1.377 MB / 392.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.1326, allocations: 43.67 kB / 393 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.1327, allocations: 32.05 kB / 393 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.1331, allocations: 47.91 kB / 393 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.1333, allocations: 76.75 kB / 393.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.1333, allocations: 43.92 kB / 393.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.1335, allocations: 165.2 kB / 393.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1335, allocations: 3.938 kB / 393.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005158/0.134, allocations: 156 kB / 393.5 MB, free: 1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001589/0.1342, allocations: 123.1 kB / 393.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.1357, allocations: 0.7035 MB / 394.3 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1357, allocations: 0 / 394.3 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008586/0.1366, allocations: 418.7 kB / 394.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008137/0.1374, allocations: 116.5 kB / 394.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.14, allocations: 1.536 MB / 396.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1403, allocations: 272.4 kB / 396.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.1406, allocations: 76.92 kB / 396.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1407, allocations: 60.48 kB / 396.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1407, allocations: 0 / 396.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01322/0.154, allocations: 6.595 MB / 403.4 MB, free: 7.102 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.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: 4.483573280042037]