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.001442/0.001442, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001329/0.001329, allocations: 172 kB / 24.91 MB, free: 8.766 MB / 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 0.9962/0.9962, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.573e-06/1.573e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.003e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002411/0.002431, allocations: 2.496 MB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008675/0.003298, allocations: 0.7753 MB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.003389, allocations: 7.938 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.003498, allocations: 39.59 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.003644, allocations: 115 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.003867, allocations: 131.7 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.004152, allocations: 486 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004267, allocations: 67.03 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.004482, allocations: 271.4 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.004631, allocations: 163.6 kB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.004671, allocations: 36 kB / 278 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-05/0.004706, allocations: 40 kB / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.004756, allocations: 87.7 kB / 278.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.004834, allocations: 131.7 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.005063, allocations: 299 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005065, allocations: 0 / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005066, allocations: 0 / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.005069, allocations: 0 / 278.6 MB, free: 12.14 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.0006656/0.005735, allocations: 0.5623 MB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.005763, allocations: 11.97 kB / 279.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.005822, allocations: 52.89 kB / 279.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.00602, allocations: 177.4 kB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.006107, allocations: 135.9 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.006143, allocations: 24.38 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.006441, allocations: 279.2 kB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.006456, allocations: 7.938 kB / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.006475, allocations: 12 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.006482, allocations: 8 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.006682, allocations: 119.2 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.007429, allocations: 0.6171 MB / 280.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.007689, allocations: 195.7 kB / 280.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.007806, allocations: 90.98 kB / 280.9 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.007821, allocations: 7.938 kB / 280.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.007843, allocations: 38.5 kB / 280.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.007845, allocations: 0 / 280.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001413/0.009258, allocations: 1.15 MB / 282 MB, free: 8.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.009301, allocations: 110.8 kB / 282.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.009414, allocations: 182.9 kB / 282.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.009436, allocations: 33.7 kB / 282.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.009498, allocations: 144.7 kB / 282.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/0.009581, allocations: 142.7 kB / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/0.00968, allocations: 78.12 kB / 282.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.00977, allocations: 346.7 kB / 283.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.009874, allocations: 44.97 kB / 283.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.523e-05/0.009969, allocations: 90.09 kB / 283.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.01015, allocations: 179.5 kB / 283.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01016, allocations: 4 kB / 283.4 MB, free: 6.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002362/0.01039, allocations: 177.5 kB / 283.5 MB, free: 6.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.0104, allocations: 8 kB / 283.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01041, allocations: 0 / 283.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01042, allocations: 4 kB / 283.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.01083, allocations: 143.9 kB / 283.7 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01083, allocations: 4 kB / 283.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01094, allocations: 15.98 kB / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.01096, allocations: 12 kB / 283.7 MB, free: 6.586 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 8.737e-05/0.01104, allocations: 133.7 kB / 283.9 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.01112, allocations: 31.97 kB / 283.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.01116, allocations: 37.45 kB / 283.9 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01117, allocations: 4 kB / 283.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.01117, allocations: 3.938 kB / 283.9 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01117, allocations: 0 / 283.9 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.01207, allocations: 0.804 MB / 284.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01207, allocations: 4 kB / 284.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.01254, allocations: 151.8 kB / 284.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.01255, allocations: 7.984 kB / 284.9 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.01257, allocations: 8.094 kB / 284.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.01257, allocations: 11.94 kB / 284.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01258, allocations: 0 / 284.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.01305, allocations: 0.5695 MB / 285.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.01312, allocations: 27.84 kB / 285.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.01315, allocations: 12 kB / 285.5 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.0134, allocations: 35.97 kB / 285.6 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.01347, allocations: 43.86 kB / 285.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.01349, allocations: 12 kB / 285.6 MB, free: 4.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.632e-05/0.01354, allocations: 58.09 kB / 285.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01354, allocations: 0 / 285.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003498/0.01389, allocations: 80 kB / 285.8 MB, free: 4.445 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 9.109e-05/0.01398, allocations: 97.84 kB / 285.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.01422, allocations: 181.4 kB / 286 MB, free: 4.164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.01422, allocations: 3.938 kB / 286 MB, free: 4.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.01437, allocations: 116.6 kB / 286.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.01486, allocations: 84.44 kB / 286.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.01747, allocations: 1.041 MB / 287.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.523e-05/0.01754, allocations: 93.12 kB / 287.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.01766, allocations: 38.97 kB / 287.4 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.01787, allocations: 123.3 kB / 287.5 MB, free: 2.602 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01787, allocations: 3.938 kB / 287.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of Templates: time 0.007545/0.02542, allocations: 4.994 MB / 292.5 MB, free: 13.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] 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","",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.6650629099458456]