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.001859/0.001859, allocations: 91.61 kB / 20.95 MB, free: 3.465 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.00204/0.00204, allocations: 165.6 kB / 24.27 MB, free: 152 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.545/1.545, allocations: 177.2 MB / 204.6 MB, free: 5.605 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.433e-06/1.433e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.303e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004161/0.004194, allocations: 2.451 MB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.005787, allocations: 0.7444 MB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.005921, allocations: 11.88 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.006099, allocations: 43.58 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.006352, allocations: 115 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.006713, allocations: 127.7 kB / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.007278, allocations: 482 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.007437, allocations: 53.14 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.007825, allocations: 275.4 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.008088, allocations: 167.6 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.352e-05/0.008161, allocations: 36 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.008247, allocations: 40 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.008348, allocations: 91.7 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.008519, allocations: 131.7 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007754/0.009294, allocations: 442.7 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009298, allocations: 3.938 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009299, allocations: 0 / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.009305, allocations: 0 / 277.5 MB, free: 12.66 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.001735/0.01104, allocations: 0.6867 MB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.01108, allocations: 8.031 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.01122, allocations: 68.7 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.01161, allocations: 220.1 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.01178, allocations: 131.9 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.01185, allocations: 24.38 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009437/0.01279, allocations: 391 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.01282, allocations: 7.953 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.01286, allocations: 12 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.01287, allocations: 8 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.01405, allocations: 355.7 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.01563, allocations: 1.01 MB / 280.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.01671, allocations: 401.3 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.01732, allocations: 214.9 kB / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.01736, allocations: 8 kB / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.0174, allocations: 41.39 kB / 281 MB, free: 8.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.0174, allocations: 0 / 281 MB, free: 8.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.004888/0.02229, allocations: 1.853 MB / 282.9 MB, free: 6.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/0.02238, allocations: 110.8 kB / 283 MB, free: 6.742 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.02267, allocations: 273.5 kB / 283.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.02272, allocations: 33.7 kB / 283.3 MB, free: 6.418 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.02288, allocations: 203.5 kB / 283.5 MB, free: 6.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.02305, allocations: 154.7 kB / 283.6 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.02322, allocations: 87.84 kB / 283.7 MB, free: 5.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005409/0.02376, allocations: 0.5157 MB / 284.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.02404, allocations: 96.94 kB / 284.3 MB, free: 5.344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.02438, allocations: 183.1 kB / 284.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.02499, allocations: 293.9 kB / 284.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.02499, allocations: 0 / 284.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008068/0.02579, allocations: 360.2 kB / 285.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.02581, allocations: 4 kB / 285.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.02582, allocations: 4 kB / 285.1 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.02584, allocations: 4 kB / 285.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.02647, allocations: 119.8 kB / 285.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.02649, allocations: 7.984 kB / 285.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.02668, allocations: 24.06 kB / 285.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.02671, allocations: 12 kB / 285.3 MB, free: 4.305 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.0002129/0.02692, allocations: 200.4 kB / 285.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.02705, allocations: 39.81 kB / 285.5 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.37e-05/0.02713, allocations: 33.47 kB / 285.6 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.02714, allocations: 7.938 kB / 285.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.02715, allocations: 7.922 kB / 285.6 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.02716, allocations: 4 kB / 285.6 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.02974, allocations: 1.363 MB / 287 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.02975, allocations: 0 / 287 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/0.03053, allocations: 139.8 kB / 287.1 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.03054, allocations: 4 kB / 287.1 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.03058, allocations: 12 kB / 287.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.03059, allocations: 12.09 kB / 287.1 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.03059, allocations: 0 / 287.1 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.03282, allocations: 1.098 MB / 288.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.03298, allocations: 47.81 kB / 288.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.03303, allocations: 8 kB / 288.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.03341, allocations: 35.97 kB / 288.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.03354, allocations: 47.86 kB / 288.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.03357, allocations: 8 kB / 288.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.03375, allocations: 196.5 kB / 288.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03375, allocations: 0 / 288.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004765/0.03423, allocations: 80 kB / 288.6 MB, free: 0.8242 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.0001628/0.03439, allocations: 115.1 kB / 288.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.03546, allocations: 360.2 kB / 289.1 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03547, allocations: 0 / 289.1 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.03615, allocations: 243.3 kB / 289.3 MB, free: 108 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.03688, allocations: 99 kB / 289.4 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.04166, allocations: 1.256 MB / 290.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.04186, allocations: 160 kB / 290.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.04204, allocations: 42.95 kB / 290.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.04217, allocations: 32.48 kB / 290.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04217, allocations: 0 / 290.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of Templates: time 0.01084/0.05302, allocations: 4.463 MB / 295.4 MB, free: 10.04 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 -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","/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.522849883069284]