Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.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.00135/0.00135, allocations: 88.62 kB / 21.44 MB, free: 276 kB / 14.72 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.001623/0.001623, allocations: 160.9 kB / 24.7 MB, free: 3.531 MB / 14.72 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.44/1.44, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.614e-05, allocations: 6.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00349/0.003516, allocations: 2.273 MB / 301.2 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004928, allocations: 0.753 MB / 302 MB, free: 5.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.005047, allocations: 4 kB / 302 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.005191, allocations: 51.52 kB / 302 MB, free: 5.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.005423, allocations: 111 kB / 302.1 MB, free: 5.512 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.005799, allocations: 127.7 kB / 302.2 MB, free: 5.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.006311, allocations: 478 kB / 302.7 MB, free: 4.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.006484, allocations: 65.08 kB / 302.8 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.006831, allocations: 267.4 kB / 303 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.007079, allocations: 171.6 kB / 303.2 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.007155, allocations: 36 kB / 303.2 MB, free: 4.391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.455e-05/0.007229, allocations: 43.94 kB / 303.3 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.00732, allocations: 83.72 kB / 303.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.007488, allocations: 135.7 kB / 303.5 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.008011, allocations: 438.7 kB / 303.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.008018, allocations: 4 kB / 303.9 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.008019, allocations: 0 / 303.9 MB, free: 3.699 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.008029, allocations: 0 / 303.9 MB, free: 3.699 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001585/0.009615, allocations: 0.6143 MB / 304.5 MB, free: 3.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.009648, allocations: 11.98 kB / 304.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.009729, allocations: 36.75 kB / 304.6 MB, free: 3.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.01014, allocations: 217 kB / 304.8 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.01029, allocations: 135.9 kB / 304.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.01036, allocations: 40.3 kB / 305 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.0113, allocations: 370.6 kB / 305.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.01132, allocations: 11.98 kB / 305.4 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.01136, allocations: 8 kB / 305.4 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01137, allocations: 8 kB / 305.4 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.01262, allocations: 387.6 kB / 305.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.01389, allocations: 0.8139 MB / 306.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.01501, allocations: 395.7 kB / 306.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.01567, allocations: 210.6 kB / 307.2 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.01569, allocations: 4 kB / 307.2 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.01574, allocations: 46.5 kB / 307.2 MB, free: 252 kB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.01574, allocations: 4 kB / 307.2 MB, free: 248 kB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.005138/0.02088, allocations: 1.873 MB / 309.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.02095, allocations: 110.8 kB / 309.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.02115, allocations: 178.8 kB / 309.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.02119, allocations: 29.7 kB / 309.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.0213, allocations: 160.7 kB / 309.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.02144, allocations: 146.8 kB / 309.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.02159, allocations: 74.17 kB / 309.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.02176, allocations: 334.8 kB / 310.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.02209, allocations: 108.9 kB / 310.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.02245, allocations: 170 kB / 310.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.02315, allocations: 292.9 kB / 310.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.02316, allocations: 4 kB / 310.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008458/0.024, allocations: 361.2 kB / 311 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02402, allocations: 12.09 kB / 311 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.02402, allocations: 0 / 311 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.02404, allocations: 4 kB / 311 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/0.02484, allocations: 147.8 kB / 311.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.02485, allocations: 4 kB / 311.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.02508, allocations: 23.98 kB / 311.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.0251, allocations: 16 kB / 311.2 MB, free: 11.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001919/0.02529, allocations: 153.7 kB / 311.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.674e-05/0.02539, allocations: 23.86 kB / 311.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.02546, allocations: 29.47 kB / 311.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.02547, allocations: 7.938 kB / 311.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.02548, allocations: 8.875 kB / 311.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.02549, allocations: 7.969 kB / 311.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.02792, allocations: 1.179 MB / 312.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.02793, allocations: 8.031 kB / 312.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008714/0.0288, allocations: 167.9 kB / 312.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.0288, allocations: 11.94 kB / 312.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.02884, allocations: 8 kB / 312.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.02885, allocations: 11.92 kB / 312.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02885, allocations: 0 / 312.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.03101, allocations: 0.9491 MB / 313.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.03113, allocations: 51.88 kB / 313.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.03118, allocations: 8 kB / 313.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/0.03161, allocations: 43.95 kB / 313.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.03172, allocations: 43.86 kB / 313.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.03176, allocations: 16.12 kB / 313.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.03189, allocations: 135 kB / 314.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.03189, allocations: 0 / 314.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.03233, allocations: 84 kB / 314.1 MB, free: 8.922 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0001581/0.03249, allocations: 113.9 kB / 314.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.03354, allocations: 352.3 kB / 314.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.03354, allocations: 4 kB / 314.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007022/0.03424, allocations: 240 kB / 314.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.03494, allocations: 69.09 kB / 314.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005119/0.04006, allocations: 1.314 MB / 316.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.04025, allocations: 163.9 kB / 316.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.04042, allocations: 38.91 kB / 316.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.04055, allocations: 32.48 kB / 316.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.04055, allocations: 4 kB / 316.4 MB, free: 6.539 MB / 302.1 MB Notification: Performance of Templates: time 0.009733/0.05028, allocations: 4.42 MB / 320.9 MB, free: 2.113 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.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.5067009925842285]