Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001352/0.001352, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 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.001412/0.001412, allocations: 163.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.2 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.34e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003307/0.003331, allocations: 2.297 MB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004873, allocations: 0.7522 MB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.005054, allocations: 8.094 kB / 328.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.005226, allocations: 42.72 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.00549, allocations: 120.1 kB / 328.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.00589, allocations: 131.1 kB / 328.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.006391, allocations: 486.2 kB / 328.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.006562, allocations: 62.02 kB / 328.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.006926, allocations: 265 kB / 329.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.007198, allocations: 168.2 kB / 329.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.007262, allocations: 38.5 kB / 329.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.00734, allocations: 41.03 kB / 329.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.007445, allocations: 87.05 kB / 329.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.007623, allocations: 132 kB / 329.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.008214, allocations: 439.2 kB / 330.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.008219, allocations: 3.938 kB / 330.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008221, allocations: 0 / 330.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.008228, allocations: 1 kB / 330.1 MB, free: 13.54 MB / 302.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.001725/0.009953, allocations: 0.6112 MB / 330.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.009991, allocations: 9.188 kB / 330.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.01011, allocations: 38.86 kB / 330.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.01049, allocations: 211.8 kB / 330.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.01066, allocations: 133.4 kB / 331.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.01073, allocations: 29.97 kB / 331.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.01173, allocations: 379 kB / 331.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.01175, allocations: 5.734 kB / 331.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.01179, allocations: 10.19 kB / 331.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.0118, allocations: 6.656 kB / 331.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.01315, allocations: 394.7 kB / 331.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.01452, allocations: 0.7914 MB / 332.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.0157, allocations: 401.6 kB / 333.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.01637, allocations: 207.5 kB / 333.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.0164, allocations: 4.5 kB / 333.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.01643, allocations: 41.03 kB / 333.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.01644, allocations: 1.406 kB / 333.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.005354/0.02179, allocations: 1.874 MB / 335.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.02187, allocations: 115.8 kB / 335.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.02208, allocations: 190.4 kB / 335.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.02212, allocations: 31.36 kB / 335.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.02224, allocations: 152.9 kB / 335.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.02237, allocations: 146 kB / 335.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.02251, allocations: 73.06 kB / 335.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.02266, allocations: 333.1 kB / 336.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.023, allocations: 113 kB / 336.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.02338, allocations: 172.1 kB / 336.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.02413, allocations: 282.4 kB / 336.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.02414, allocations: 9.5 kB / 336.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008977/0.02504, allocations: 365.3 kB / 337.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.02505, allocations: 5.844 kB / 337.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.02506, allocations: 3.156 kB / 337.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.02508, allocations: 3.5 kB / 337.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.02583, allocations: 155.5 kB / 337.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.02584, allocations: 11.05 kB / 337.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.0261, allocations: 29.77 kB / 337.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02612, allocations: 12.91 kB / 337.3 MB, free: 8.316 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.00017/0.02629, allocations: 146.2 kB / 337.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.02639, allocations: 29.41 kB / 337.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.02646, allocations: 29.83 kB / 337.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.02647, allocations: 4.469 kB / 337.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.02648, allocations: 12.84 kB / 337.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.02649, allocations: 5.047 kB / 337.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.02906, allocations: 1.192 MB / 338.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02906, allocations: 4 kB / 338.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/0.02999, allocations: 171.9 kB / 338.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.02999, allocations: 4 kB / 338.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.03003, allocations: 11.98 kB / 338.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-06/0.03004, allocations: 4 kB / 338.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03004, allocations: 0 / 338.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.0324, allocations: 0.95 MB / 339.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.03257, allocations: 51.83 kB / 340 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.03263, allocations: 12 kB / 340 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.03309, allocations: 51.94 kB / 340 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.03321, allocations: 39.88 kB / 340.1 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.03324, allocations: 23.92 kB / 340.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.03338, allocations: 135 kB / 340.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03338, allocations: 0 / 340.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000508/0.03389, allocations: 84 kB / 340.3 MB, free: 5.406 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.0001635/0.03406, allocations: 107.2 kB / 340.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.0352, allocations: 355.7 kB / 340.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.03521, allocations: 0 / 340.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.03597, allocations: 244.2 kB / 341 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.03675, allocations: 72.34 kB / 341.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.04201, allocations: 1.29 MB / 342.3 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.0422, allocations: 164 kB / 342.5 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.0424, allocations: 42.91 kB / 342.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.04253, allocations: 36.48 kB / 342.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.04254, allocations: 0 / 342.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of Templates: time 0.009554/0.05209, allocations: 4.425 MB / 347 MB, free: 14.67 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.257111616432667]