Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9597/0.9597, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.034e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002606/0.002626, allocations: 2.471 MB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003724, allocations: 0.7599 MB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.003844, allocations: 7.938 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.003993, allocations: 43.58 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.004163, allocations: 111 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.004496, allocations: 131.7 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.004836, allocations: 482 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.004994, allocations: 57.06 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.005252, allocations: 271.5 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.005416, allocations: 167.6 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.005462, allocations: 36 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.005504, allocations: 36 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.005564, allocations: 87.72 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.005663, allocations: 135.7 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.005971, allocations: 299 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005974, allocations: 0 / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005975, allocations: 0 / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.005983, allocations: 7.984 kB / 278 MB, free: 12.36 MB / 266.7 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.0008677/0.00685, allocations: 0.6752 MB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.006888, allocations: 11.98 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.006974, allocations: 56.75 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.007227, allocations: 220.7 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.007337, allocations: 135.9 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.007385, allocations: 28.33 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.00779, allocations: 307.8 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.007806, allocations: 4 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.007834, allocations: 8 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.007844, allocations: 8 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.008095, allocations: 172.5 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.008967, allocations: 0.9162 MB / 280.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.009301, allocations: 265.1 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.009446, allocations: 115 kB / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.009469, allocations: 4 kB / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.009498, allocations: 45.33 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.009499, allocations: 0 / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001565/0.01106, allocations: 1.37 MB / 282.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.01111, allocations: 118.8 kB / 282.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01125, allocations: 234.8 kB / 282.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.01127, allocations: 29.7 kB / 282.7 MB, free: 7.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.01135, allocations: 199.5 kB / 282.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.225e-05/0.01144, allocations: 154.6 kB / 283 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.01153, allocations: 71.84 kB / 283.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.01168, allocations: 0.5079 MB / 283.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.01181, allocations: 68.94 kB / 283.6 MB, free: 6.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.01193, allocations: 127.1 kB / 283.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.01218, allocations: 196.4 kB / 284 MB, free: 5.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01218, allocations: 0 / 284 MB, free: 5.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003202/0.0125, allocations: 272.5 kB / 284.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01252, allocations: 10.91 kB / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.01252, allocations: 4 kB / 284.2 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.01255, allocations: 4 kB / 284.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.01286, allocations: 123.7 kB / 284.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.01287, allocations: 8 kB / 284.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.01295, allocations: 23.98 kB / 284.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.01297, allocations: 12 kB / 284.4 MB, free: 5.41 MB / 266.7 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 9.175e-05/0.01306, allocations: 176.5 kB / 284.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.01313, allocations: 43.81 kB / 284.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.01316, allocations: 29.47 kB / 284.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01317, allocations: 4 kB / 284.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01317, allocations: 3.938 kB / 284.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01318, allocations: 3.984 kB / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.01418, allocations: 1.144 MB / 285.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01418, allocations: 0 / 285.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.01453, allocations: 144 kB / 285.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01453, allocations: 4 kB / 286 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.01455, allocations: 16 kB / 286 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01455, allocations: 7.984 kB / 286 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01456, allocations: 0 / 286 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.0153, allocations: 0.8126 MB / 286.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.01538, allocations: 47.81 kB / 286.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.0154, allocations: 11.94 kB / 286.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.01558, allocations: 35.97 kB / 286.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.01565, allocations: 47.8 kB / 286.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.01567, allocations: 12 kB / 286.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.01574, allocations: 171.1 kB / 287.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01574, allocations: 4 kB / 287.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.01602, allocations: 80 kB / 287.2 MB, free: 2.477 MB / 266.7 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.0001036/0.01612, allocations: 107.2 kB / 287.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.01641, allocations: 221.3 kB / 287.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01641, allocations: 0 / 287.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.01657, allocations: 152 kB / 287.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.017, allocations: 89.84 kB / 287.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.01941, allocations: 1.193 MB / 288.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.044e-05/0.01949, allocations: 92.81 kB / 289 MB, free: 0.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.01959, allocations: 38.95 kB / 289.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.0197, allocations: 44.48 kB / 289.1 MB, free: 472 kB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0197, allocations: 0 / 289.1 MB, free: 472 kB / 266.7 MB Notification: Performance of Templates: time 0.006621/0.02632, allocations: 4.46 MB / 293.6 MB, free: 12.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1756663881242275]