Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 92.62 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.29e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004002/0.004035, allocations: 2.291 MB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.005596, allocations: 0.7171 MB / 270.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.005725, allocations: 7.938 kB / 270.3 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.005896, allocations: 43.52 kB / 270.4 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.006161, allocations: 107 kB / 270.5 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.006562, allocations: 135.8 kB / 270.6 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.007134, allocations: 477.9 kB / 271.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.007317, allocations: 61.08 kB / 271.1 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.007709, allocations: 271.5 kB / 271.4 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.007963, allocations: 159.6 kB / 271.6 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.008033, allocations: 36 kB / 271.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.56e-05/0.008119, allocations: 40 kB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.008213, allocations: 83.72 kB / 271.7 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.008391, allocations: 135.7 kB / 271.8 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.008964, allocations: 446.6 kB / 272.3 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.008968, allocations: 4 kB / 272.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.00897, allocations: 0 / 272.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.008975, allocations: 0 / 272.3 MB, free: 1.734 MB / 250.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.001714/0.01069, allocations: 0.6144 MB / 272.9 MB, free: 1.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.01074, allocations: 8.922 kB / 272.9 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.01089, allocations: 56.75 kB / 273 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.01138, allocations: 225 kB / 273.2 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.01156, allocations: 131.9 kB / 273.3 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.01164, allocations: 28.38 kB / 273.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.01266, allocations: 374.6 kB / 273.7 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.0127, allocations: 19.88 kB / 273.7 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.01274, allocations: 8 kB / 273.7 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.01275, allocations: 8 kB / 273.7 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.0141, allocations: 379.6 kB / 274.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.01557, allocations: 0.8023 MB / 274.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.01678, allocations: 403.5 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006768/0.01745, allocations: 202.4 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.01749, allocations: 15.97 kB / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.01754, allocations: 38.94 kB / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.01755, allocations: 0 / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.005341/0.02289, allocations: 1.885 MB / 277.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.02298, allocations: 118.8 kB / 277.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.02323, allocations: 183.2 kB / 277.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.02327, allocations: 29.7 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.0234, allocations: 160.7 kB / 277.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.02356, allocations: 138.8 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.02372, allocations: 82.12 kB / 278.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.02394, allocations: 330.8 kB / 278.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.02428, allocations: 116.9 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.02468, allocations: 170.1 kB / 278.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.02541, allocations: 288.6 kB / 279 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.02542, allocations: 0 / 279 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009875/0.0264, allocations: 381.2 kB / 279.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.02642, allocations: 4 kB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.02643, allocations: 4 kB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.02646, allocations: 4 kB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.02723, allocations: 151.8 kB / 279.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.02724, allocations: 4 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.02749, allocations: 31.97 kB / 279.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.02752, allocations: 16 kB / 279.6 MB, free: 9.977 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.0001962/0.02771, allocations: 141.8 kB / 279.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.02786, allocations: 35.86 kB / 279.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.723e-05/0.02795, allocations: 37.45 kB / 279.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.02795, allocations: 4 kB / 279.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.02796, allocations: 3.938 kB / 279.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.02797, allocations: 0 / 279.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.03059, allocations: 1.198 MB / 281 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.0306, allocations: 4 kB / 281 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/0.03151, allocations: 168 kB / 281.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.03152, allocations: 7.938 kB / 281.2 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.03156, allocations: 15.98 kB / 281.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.03156, allocations: 4 kB / 281.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.03157, allocations: 0 / 281.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.03391, allocations: 0.9595 MB / 282.2 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.03406, allocations: 51.83 kB / 282.2 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.03411, allocations: 12 kB / 282.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.03455, allocations: 47.94 kB / 282.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.03469, allocations: 43.81 kB / 282.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.03472, allocations: 16 kB / 282.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.03487, allocations: 136.5 kB / 282.5 MB, free: 6.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03487, allocations: 0 / 282.5 MB, free: 6.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005114/0.03538, allocations: 84 kB / 282.6 MB, free: 6.891 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.0001763/0.03555, allocations: 107.1 kB / 282.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.03671, allocations: 362 kB / 283 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.03672, allocations: 192 / 283 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.03748, allocations: 243.6 kB / 283.3 MB, free: 6.184 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.03828, allocations: 97.28 kB / 283.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.04352, allocations: 1.303 MB / 284.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.04375, allocations: 160 kB / 284.8 MB, free: 4.574 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.04396, allocations: 38.95 kB / 284.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.04409, allocations: 40.48 kB / 284.9 MB, free: 4.492 MB / 266.7 MB Notification: Performance of SimCode: time 1.223e-06/0.04409, allocations: 3.938 kB / 284.9 MB, free: 4.488 MB / 266.7 MB Notification: Performance of Templates: time 0.01044/0.05454, allocations: 4.445 MB / 289.3 MB, free: 100 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.4225665520643815]