Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3138, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004767/0.3186, allocations: 3.655 MB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3203, allocations: 0.9432 MB / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.3205, allocations: 11.94 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.3207, allocations: 87.16 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.321, allocations: 154.5 kB / 414.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.3215, allocations: 163.7 kB / 414.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005979/0.3221, allocations: 0.6268 MB / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.3224, allocations: 201.4 kB / 415.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.3227, allocations: 243.2 kB / 415.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.3231, allocations: 290.8 kB / 415.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.3231, allocations: 52 kB / 415.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3233, allocations: 52 kB / 415.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3234, allocations: 127.6 kB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.3236, allocations: 282.6 kB / 416.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.3242, allocations: 0.6223 MB / 416.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3243, allocations: 0 / 416.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3243, allocations: 0 / 416.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3243, allocations: 4 kB / 416.7 MB, free: 10.07 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001411/0.3257, allocations: 0.849 MB / 417.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3257, allocations: 16.03 kB / 417.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.326, allocations: 68.55 kB / 417.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.3265, allocations: 354.9 kB / 418 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.3265, allocations: 37 kB / 418 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.3266, allocations: 51.95 kB / 418.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.3273, allocations: 422.3 kB / 418.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.3274, allocations: 4 kB / 418.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.3274, allocations: 20 kB / 418.5 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3274, allocations: 16 kB / 418.5 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006914/0.3281, allocations: 387.8 kB / 418.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.3304, allocations: 1.379 MB / 420.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.3311, allocations: 0.5147 MB / 420.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006391/0.3318, allocations: 348 kB / 421.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.3318, allocations: 16.64 kB / 421.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3319, allocations: 43.22 kB / 421.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.745e-06/0.3319, allocations: 0 / 421.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=107): time 0.006534/0.3384, allocations: 3.016 MB / 424.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3385, allocations: 68.34 kB / 424.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.3388, allocations: 276.6 kB / 424.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.3389, allocations: 45.7 kB / 424.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.339, allocations: 205.6 kB / 424.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.3393, allocations: 384.6 kB / 425.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3395, allocations: 154.6 kB / 425.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3396, allocations: 366.8 kB / 425.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.3401, allocations: 237.9 kB / 425.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.3406, allocations: 317.4 kB / 426.2 MB, free: 244 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.3415, allocations: 0.5727 MB / 426.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3415, allocations: 3.938 kB / 426.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001209/0.3427, allocations: 0.7393 MB / 427.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3428, allocations: 6.969 kB / 427.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3428, allocations: 0 / 427.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.3428, allocations: 4 kB / 427.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/0.3436, allocations: 199.7 kB / 427.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3436, allocations: 4 kB / 427.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.3439, allocations: 31.98 kB / 427.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.344, allocations: 31.92 kB / 427.8 MB, free: 14.64 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 (117): * Single equations (assignments): 117 * 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.0002422/0.3442, allocations: 205.6 kB / 428 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.3443, allocations: 59.67 kB / 428.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.3445, allocations: 77.62 kB / 428.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3445, allocations: 8 kB / 428.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3445, allocations: 0 / 428.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3445, allocations: 7.984 kB / 428.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.3472, allocations: 1.941 MB / 430.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3473, allocations: 4.594 kB / 430.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/0.3481, allocations: 195.7 kB / 430.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.3481, allocations: 8 kB / 430.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.3481, allocations: 28 kB / 430.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.714e-05/0.3482, allocations: 11.98 kB / 430.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.3482, allocations: 11.94 kB / 430.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.35, allocations: 1.287 MB / 431.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3501, allocations: 140.8 kB / 431.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/0.3502, allocations: 28.12 kB / 431.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.3505, allocations: 31.98 kB / 431.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.3507, allocations: 80.72 kB / 431.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.3507, allocations: 31.98 kB / 432 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.3509, allocations: 199.1 kB / 432.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3509, allocations: 0 / 432.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005199/0.3514, allocations: 160 kB / 432.3 MB, free: 9.934 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 (107): * Single equations (assignments): 107 * 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.0001851/0.3516, allocations: 131 kB / 432.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.3528, allocations: 0.6762 MB / 433.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3528, allocations: 4.125 kB / 433.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.3534, allocations: 413.4 kB / 433.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.3543, allocations: 156.2 kB / 433.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.3567, allocations: 1.546 MB / 435.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.3572, allocations: 0.8764 MB / 436.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003289/0.3575, allocations: 85.2 kB / 436.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.3577, allocations: 59.42 kB / 436.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3577, allocations: 0 / 436.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of Templates: time 0.01298/0.3707, allocations: 7.132 MB / 443.4 MB, free: 14.82 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches