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.001338/0.001338, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009707/0.0009707, allocations: 165.2 kB / 24.99 MB, free: 8.801 MB / 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.9748/0.9748, allocations: 177 MB / 205.2 MB, free: 5.594 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 2.094e-06/2.094e-06, allocations: 0 / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.061e-05, allocations: 2.312 kB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003348/0.003379, allocations: 2.482 MB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.00475, allocations: 0.7559 MB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.004898, allocations: 4 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.005043, allocations: 39.53 kB / 276.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.005256, allocations: 115 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.005617, allocations: 131.7 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.006077, allocations: 486 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.006237, allocations: 49.14 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.006578, allocations: 271.4 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.00679, allocations: 171.6 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.00685, allocations: 36 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.271e-05/0.006903, allocations: 44 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.006971, allocations: 87.7 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.007097, allocations: 135.7 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.007441, allocations: 303 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007444, allocations: 0 / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007445, allocations: 0 / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.007451, allocations: 0 / 278 MB, free: 12.67 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.001056/0.008507, allocations: 0.6791 MB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.008546, allocations: 15.98 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.008664, allocations: 56.75 kB / 278.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.00897, allocations: 212.7 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.009097, allocations: 139.9 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.009156, allocations: 36.27 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.00968, allocations: 295.8 kB / 279.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.009699, allocations: 8 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.009731, allocations: 15.98 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.009741, allocations: 4 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.01009, allocations: 176.8 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.01117, allocations: 0.9084 MB / 280.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.01159, allocations: 253.1 kB / 280.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.01178, allocations: 119 kB / 280.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.0118, allocations: 4 kB / 280.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.01182, allocations: 45.39 kB / 281 MB, free: 9.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.01183, allocations: 0 / 281 MB, free: 9.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001963/0.01379, allocations: 1.374 MB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.01384, allocations: 110.8 kB / 282.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.01402, allocations: 234.8 kB / 282.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.01404, allocations: 29.7 kB / 282.7 MB, free: 7.559 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.01414, allocations: 199.5 kB / 282.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.01424, allocations: 146.7 kB / 283.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.01436, allocations: 83.83 kB / 283.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.0145, allocations: 0.504 MB / 283.6 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.01468, allocations: 60.95 kB / 283.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.01484, allocations: 135 kB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.01512, allocations: 197.1 kB / 284 MB, free: 6.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01512, allocations: 0 / 284 MB, free: 6.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000428/0.01555, allocations: 265.2 kB / 284.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01557, allocations: 8 kB / 284.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01558, allocations: 3.984 kB / 284.3 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.01559, allocations: 4 kB / 284.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.01601, allocations: 135.8 kB / 284.4 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01602, allocations: 0 / 284.4 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01615, allocations: 19.98 kB / 284.5 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.01617, allocations: 12 kB / 284.5 MB, free: 5.734 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 0.0001179/0.01628, allocations: 176.5 kB / 284.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.01639, allocations: 47.75 kB / 284.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.01644, allocations: 33.45 kB / 284.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.01645, allocations: 4 kB / 284.7 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.01645, allocations: 3.938 kB / 284.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01646, allocations: 3.984 kB / 284.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.01775, allocations: 1.149 MB / 285.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.01776, allocations: 0 / 285.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.01827, allocations: 143.8 kB / 286 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.01828, allocations: 0 / 286 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.01831, allocations: 16 kB / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.01831, allocations: 8.156 kB / 286 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01831, allocations: 0 / 286 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.01909, allocations: 0.8166 MB / 286.9 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.01919, allocations: 47.81 kB / 286.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.01923, allocations: 12 kB / 286.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.01953, allocations: 39.97 kB / 287 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.01962, allocations: 47.8 kB / 287 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.01964, allocations: 12 kB / 287 MB, free: 3.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.01973, allocations: 167.1 kB / 287.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01973, allocations: 0 / 287.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004225/0.02016, allocations: 80 kB / 287.3 MB, free: 2.793 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.0001184/0.02027, allocations: 110 kB / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.02066, allocations: 231.9 kB / 287.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02066, allocations: 0 / 287.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.02088, allocations: 147.5 kB / 287.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.02152, allocations: 84.62 kB / 287.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.0248, allocations: 1.198 MB / 289 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.118e-05/0.0249, allocations: 96.81 kB / 289.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.02504, allocations: 38.95 kB / 289.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.02514, allocations: 28.5 kB / 289.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02515, allocations: 3.938 kB / 289.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of Templates: time 0.007618/0.03276, allocations: 4.465 MB / 293.6 MB, free: 12.37 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: 2.8536793978419155]