Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009972/0.0009973, allocations: 104.5 kB / 18.35 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 44.41 kB / 282.1 MB, free: 2.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.08924, allocations: 46.63 MB / 328.7 MB, free: 3.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005224/0.09452, allocations: 3.516 MB / 332.2 MB, free: 268 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.0964, allocations: 0.9121 MB / 333.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.09681, allocations: 19.81 kB / 333.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.09716, allocations: 75.22 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.09758, allocations: 146.6 kB / 333.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.09811, allocations: 159.6 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.09882, allocations: 0.5919 MB / 334.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.09913, allocations: 193.4 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.09946, allocations: 239.2 kB / 334.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.09978, allocations: 270.9 kB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.09986, allocations: 48 kB / 334.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.09994, allocations: 52 kB / 334.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.1, allocations: 123.6 kB / 335 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.1003, allocations: 266.7 kB / 335.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.1008, allocations: 0.5994 MB / 335.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1008, allocations: 0 / 335.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1008, allocations: 4 kB / 335.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1008, allocations: 4 kB / 335.9 MB, free: 12.57 MB / 286.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.001631/0.1025, allocations: 0.8303 MB / 336.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1025, allocations: 12.03 kB / 336.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1026, allocations: 56.28 kB / 336.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.1031, allocations: 335.2 kB / 337.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.1031, allocations: 33.38 kB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.1032, allocations: 52.36 kB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.104, allocations: 454.7 kB / 337.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.1041, allocations: 11.94 kB / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.1041, allocations: 20 kB / 337.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1041, allocations: 12 kB / 337.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009757/0.1051, allocations: 451.7 kB / 338.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1074, allocations: 1.382 MB / 339.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.1083, allocations: 0.5401 MB / 340.1 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.109, allocations: 374.9 kB / 340.4 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.1091, allocations: 12.55 kB / 340.4 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1091, allocations: 35.12 kB / 340.5 MB, free: 7.824 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 1.794e-06/0.1091, allocations: 0 / 340.5 MB, free: 7.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.006887/0.116, allocations: 3.135 MB / 343.6 MB, free: 4.602 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1161, allocations: 68.34 kB / 343.7 MB, free: 4.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1163, allocations: 250.9 kB / 343.9 MB, free: 4.266 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.1164, allocations: 41.7 kB / 344 MB, free: 4.219 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1165, allocations: 201.3 kB / 344.2 MB, free: 4.016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.1167, allocations: 346.8 kB / 344.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.117, allocations: 142.7 kB / 344.6 MB, free: 3.527 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1171, allocations: 366.8 kB / 345 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/0.1177, allocations: 273.8 kB / 345.3 MB, free: 2.895 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.1183, allocations: 353.4 kB / 345.6 MB, free: 2.539 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.1194, allocations: 0.6195 MB / 346.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1195, allocations: 0 / 346.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001464/0.1209, allocations: 0.7858 MB / 347 MB, free: 1.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.121, allocations: 4 kB / 347 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.121, allocations: 3.938 kB / 347 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.121, allocations: 11.94 kB / 347 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.1218, allocations: 211.8 kB / 347.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1218, allocations: 4 kB / 347.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.1222, allocations: 43.95 kB / 347.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.1222, allocations: 28 kB / 347.3 MB, free: 0.8203 MB / 286.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.0002232/0.1224, allocations: 189.7 kB / 347.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/0.1225, allocations: 59.28 kB / 347.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.1227, allocations: 77.33 kB / 347.6 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1227, allocations: 12 kB / 347.6 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1227, allocations: 0 / 347.6 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1227, allocations: 7.969 kB / 347.7 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.1256, allocations: 1.965 MB / 349.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1257, allocations: 8.031 kB / 349.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.1265, allocations: 207.7 kB / 349.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.1265, allocations: 8 kB / 349.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.1265, allocations: 31.92 kB / 349.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.1265, allocations: 11.94 kB / 349.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1266, allocations: 4 kB / 349.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.1286, allocations: 1.38 MB / 351.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1287, allocations: 132.4 kB / 351.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.1288, allocations: 24.12 kB / 351.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.1292, allocations: 51.97 kB / 351.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.1294, allocations: 76.78 kB / 351.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.1294, allocations: 35.98 kB / 351.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1296, allocations: 170 kB / 351.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1296, allocations: 0 / 351.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.1301, allocations: 156 kB / 351.9 MB, free: 12.02 MB / 302.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.0001542/0.1302, allocations: 131 kB / 352 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.1316, allocations: 0.7386 MB / 352.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1316, allocations: 3.938 kB / 352.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007502/0.1324, allocations: 446.3 kB / 353.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.1331, allocations: 125.7 kB / 353.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.1355, allocations: 1.52 MB / 354.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1359, allocations: 0.8645 MB / 355.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002789/0.1362, allocations: 72.98 kB / 355.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.1364, allocations: 59.42 kB / 355.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1364, allocations: 4 kB / 355.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of Templates: time 0.0118/0.1482, allocations: 6.521 MB / 362.4 MB, free: 1.426 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,friction.v_rel,innerContactA.s_rel,innerContactB.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel Variables in the result:fixedLe.flange.s,fixedLe.s0,friction.d,friction.flange_a.s,friction.s_nominal,friction.v_rel,housing.L,housing.flange_a.s,innerContactA.c,innerContactA.d,innerContactA.n,innerContactA.s_nominal,innerContactA.s_rel,innerContactA.s_rel0,innerContactB.c,innerContactB.d,innerContactB.n,innerContactB.s_nominal,innerContactB.s_rel,innerContactB.s_rel0,outerContactA.c,outerContactA.d,outerContactA.flange_a.s,outerContactA.n,outerContactA.s_nominal,outerContactA.s_rel0,outerContactA.v_rel,outerContactB.c,outerContactB.d,outerContactB.n,outerContactB.s_nominal,outerContactB.s_rel,outerContactB.s_rel0,outerContactB.v_rel,rod1.L,rod2.L,rod3.L,rod4.L,sineForce.amplitude,sineForce.freqHz,sineForce.offset,sineForce.phase,sineForce.startTime,spool.L,spool.m,spool.stateSelect,spring.c,spring.s_rel0,springPlateA.L,springPlateA.m,springPlateA.stateSelect,springPlateB.L,springPlateB.m,springPlateB.stateSelect,time