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.001404/0.001404, allocations: 88.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001557/0.001557, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.439/1.439, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.563e-06/1.563e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.046e-05, allocations: 6.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003749/0.003779, allocations: 2.301 MB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.00546, allocations: 0.7288 MB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.00557, allocations: 11.88 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.005734, allocations: 47.58 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.005971, allocations: 115 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.006321, allocations: 131.7 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.006871, allocations: 478 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.00703, allocations: 61.12 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.007403, allocations: 263.5 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.007668, allocations: 171.5 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.007734, allocations: 36 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.007803, allocations: 36 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.007897, allocations: 87.72 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.008062, allocations: 135.7 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.008593, allocations: 438.7 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.008596, allocations: 3.938 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.008597, allocations: 0 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.008612, allocations: 0 / 277.3 MB, free: 12.81 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.001612/0.01022, allocations: 0.6144 MB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.01026, allocations: 8.031 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.0104, allocations: 64.7 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.01083, allocations: 205.3 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.01101, allocations: 139.9 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.01108, allocations: 32.36 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.01209, allocations: 378.6 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.01212, allocations: 11.89 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.01216, allocations: 8 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.01217, allocations: 8 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.01347, allocations: 379.7 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.01491, allocations: 0.8139 MB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.0161, allocations: 391.8 kB / 280.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.01678, allocations: 214.8 kB / 280.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.01681, allocations: 7.938 kB / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.01685, allocations: 38.56 kB / 280.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.502e-06/0.01685, allocations: 4 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.00549/0.02234, allocations: 1.884 MB / 282.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/0.02243, allocations: 114.7 kB / 282.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.02267, allocations: 182.8 kB / 282.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.02271, allocations: 33.7 kB / 282.8 MB, free: 6.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.02285, allocations: 156.7 kB / 282.9 MB, free: 6.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.023, allocations: 146.7 kB / 283.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.02315, allocations: 74.17 kB / 283.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.02335, allocations: 334.8 kB / 283.5 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.0237, allocations: 108.9 kB / 283.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.02409, allocations: 170.1 kB / 283.8 MB, free: 5.945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.02482, allocations: 283.8 kB / 284 MB, free: 5.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.02482, allocations: 0 / 284 MB, free: 5.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009527/0.02578, allocations: 385 kB / 284.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.0258, allocations: 4.094 kB / 284.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.02581, allocations: 8 kB / 284.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.02583, allocations: 4 kB / 284.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.0266, allocations: 151.8 kB / 284.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.02661, allocations: 4 kB / 284.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.02684, allocations: 27.97 kB / 284.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.02687, allocations: 12 kB / 284.6 MB, free: 5.066 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.0001888/0.02705, allocations: 157.7 kB / 284.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.02719, allocations: 39.81 kB / 284.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.02727, allocations: 33.45 kB / 284.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.02727, allocations: 4 kB / 284.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.02728, allocations: 7.938 kB / 284.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.02729, allocations: 0 / 284.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.02983, allocations: 1.179 MB / 286 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.02984, allocations: 8.188 kB / 286 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009006/0.03074, allocations: 163.8 kB / 286.2 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.03075, allocations: 8 kB / 286.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.03079, allocations: 15.98 kB / 286.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.03079, allocations: 0 / 286.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.03079, allocations: 7.938 kB / 286.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.03313, allocations: 0.9686 MB / 287.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.03327, allocations: 55.83 kB / 287.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.03332, allocations: 8 kB / 287.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.03376, allocations: 43.94 kB / 287.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.03388, allocations: 43.88 kB / 287.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.03391, allocations: 15.98 kB / 287.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.03405, allocations: 131.2 kB / 287.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03405, allocations: 0 / 287.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004893/0.03454, allocations: 88 kB / 287.6 MB, free: 1.973 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.0001602/0.0347, allocations: 111.2 kB / 287.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.0358, allocations: 364.7 kB / 288.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0358, allocations: 0 / 288.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.03687, allocations: 240 kB / 288.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.03799, allocations: 87.3 kB / 288.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/0.04452, allocations: 1.307 MB / 289.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.04473, allocations: 164 kB / 289.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.04493, allocations: 38.95 kB / 289.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.04507, allocations: 40.48 kB / 289.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.04507, allocations: 0 / 289.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of Templates: time 0.01003/0.0551, allocations: 4.462 MB / 294.4 MB, free: 11.16 MB / 282.7 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.447926691966131]