Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009185/0.0009185, allocations: 85.95 kB / 22.21 MB, free: 2.285 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.0009008/0.0009008, allocations: 160.5 kB / 25.6 MB, free: 8.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8537/0.8537, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.509e-05, allocations: 10.25 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002828/0.002853, allocations: 2.433 MB / 253.9 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004059, allocations: 0.7686 MB / 254.7 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.00418, allocations: 7.938 kB / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.004306, allocations: 43.58 kB / 254.7 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.004496, allocations: 115 kB / 254.8 MB, free: 3.848 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.004879, allocations: 131.7 kB / 255 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.005256, allocations: 485.9 kB / 255.4 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.005386, allocations: 53.12 kB / 255.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.005687, allocations: 267.5 kB / 255.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.005842, allocations: 171.6 kB / 255.9 MB, free: 2.754 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.005884, allocations: 36 kB / 255.9 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.3e-05/0.005927, allocations: 44 kB / 256 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.00598, allocations: 83.72 kB / 256.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.006073, allocations: 131.7 kB / 256.2 MB, free: 2.465 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.006355, allocations: 311 kB / 256.5 MB, free: 2.16 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006358, allocations: 0 / 256.5 MB, free: 2.16 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006359, allocations: 0 / 256.5 MB, free: 2.16 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.006363, allocations: 0 / 256.5 MB, free: 2.16 MB / 234.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.0007916/0.007155, allocations: 0.6791 MB / 257.2 MB, free: 1.445 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.007194, allocations: 19.97 kB / 257.2 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.007267, allocations: 52.75 kB / 257.3 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.007495, allocations: 223.9 kB / 257.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.007589, allocations: 131.9 kB / 257.6 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.007639, allocations: 36.33 kB / 257.6 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.007999, allocations: 283.8 kB / 257.9 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.008012, allocations: 0 / 257.9 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.008035, allocations: 16 kB / 257.9 MB, free: 0.625 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.008041, allocations: 4 kB / 257.9 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.008216, allocations: 139.8 kB / 258.1 MB, free: 496 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.00906, allocations: 0.8739 MB / 258.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.009319, allocations: 233.1 kB / 259.2 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.009423, allocations: 107 kB / 259.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.009451, allocations: 7.984 kB / 259.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.009475, allocations: 49.33 kB / 259.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.223e-06/0.009476, allocations: 0 / 259.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001253/0.01073, allocations: 1.194 MB / 260.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.01077, allocations: 110.8 kB / 260.6 MB, free: 13.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.01089, allocations: 237.4 kB / 260.9 MB, free: 13.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.01091, allocations: 37.7 kB / 260.9 MB, free: 13.33 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.01099, allocations: 203.4 kB / 261.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.01107, allocations: 150.6 kB / 261.2 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.01115, allocations: 83.8 kB / 261.3 MB, free: 12.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.01128, allocations: 0.5079 MB / 261.8 MB, free: 12.37 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.01138, allocations: 48.95 kB / 261.9 MB, free: 12.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.01148, allocations: 119 kB / 262 MB, free: 12.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.01165, allocations: 180.6 kB / 262.2 MB, free: 11.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.01165, allocations: 0 / 262.2 MB, free: 11.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002524/0.01191, allocations: 241.3 kB / 262.4 MB, free: 11.74 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01192, allocations: 4 kB / 262.4 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01192, allocations: 4 kB / 262.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.01193, allocations: 4 kB / 262.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.01221, allocations: 127.9 kB / 262.6 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.01222, allocations: 7.938 kB / 262.6 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.0123, allocations: 19.98 kB / 262.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.01231, allocations: 8 kB / 262.6 MB, free: 11.57 MB / 250.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.0001007/0.01241, allocations: 180.5 kB / 262.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.01248, allocations: 43.81 kB / 262.8 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.01251, allocations: 33.45 kB / 262.8 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01252, allocations: 4 kB / 262.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01252, allocations: 0 / 262.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01253, allocations: 7.938 kB / 262.9 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/0.01339, allocations: 1.07 MB / 263.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.01339, allocations: 4 kB / 263.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.01374, allocations: 139.8 kB / 264.1 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.01374, allocations: 4 kB / 264.1 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.01376, allocations: 19.98 kB / 264.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.01377, allocations: 8.156 kB / 264.1 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01377, allocations: 0 / 264.1 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.01427, allocations: 0.7578 MB / 264.8 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.01434, allocations: 51.81 kB / 264.9 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01437, allocations: 11.98 kB / 264.9 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.01456, allocations: 39.97 kB / 265 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.01462, allocations: 51.75 kB / 265 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.01463, allocations: 11.98 kB / 265 MB, free: 9.004 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.479e-05/0.0147, allocations: 168.4 kB / 265.2 MB, free: 8.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0147, allocations: 0 / 265.2 MB, free: 8.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.01497, allocations: 80 kB / 265.3 MB, free: 8.762 MB / 250.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 9.702e-05/0.01507, allocations: 103.2 kB / 265.4 MB, free: 8.652 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.01529, allocations: 208 kB / 265.6 MB, free: 8.445 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01529, allocations: 0 / 265.6 MB, free: 8.445 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.01542, allocations: 124.3 kB / 265.7 MB, free: 8.32 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.01583, allocations: 93.03 kB / 265.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.01804, allocations: 1.185 MB / 267 MB, free: 6.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.193e-05/0.01811, allocations: 96.81 kB / 267.1 MB, free: 6.875 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.01822, allocations: 38.95 kB / 267.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.01841, allocations: 146.1 kB / 267.2 MB, free: 6.688 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01841, allocations: 0 / 267.2 MB, free: 6.688 MB / 250.7 MB Notification: Performance of Templates: time 0.006438/0.02485, allocations: 4.853 MB / 272.1 MB, free: 1.867 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.573772655799985]