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.0008824/0.0008824, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004131/0.004131, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.8369/0.8369, allocations: 177.1 MB / 205 MB, free: 5.727 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.322e-06/1.322e-06, allocations: 0 / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.594e-05, allocations: 2.281 kB / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002114/0.00213, allocations: 2.293 MB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000891/0.003021, allocations: 0.7521 MB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.003115, allocations: 8 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.003225, allocations: 47.47 kB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.003363, allocations: 107 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.00361, allocations: 135.1 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.003905, allocations: 489.9 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.004036, allocations: 61.03 kB / 329.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.004239, allocations: 267.4 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.004381, allocations: 171.6 kB / 330.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.004429, allocations: 36 kB / 330.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/0.004467, allocations: 36 kB / 330.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.004524, allocations: 91.7 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.004608, allocations: 127.8 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.005179, allocations: 442.7 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.005181, allocations: 0 / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005182, allocations: 7.938 kB / 330.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.005188, allocations: 4 kB / 330.8 MB, free: 10.26 MB / 298.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.0008714/0.006059, allocations: 0.6055 MB / 331.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.00609, allocations: 8.031 kB / 331.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.00615, allocations: 40.7 kB / 331.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.006406, allocations: 217.7 kB / 331.7 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.42e-05/0.0065, allocations: 139.9 kB / 331.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.006541, allocations: 24.38 kB / 331.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.007046, allocations: 374.6 kB / 332.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.007063, allocations: 7.953 kB / 332.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.007086, allocations: 12 kB / 332.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.007093, allocations: 8 kB / 332.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.007737, allocations: 391.6 kB / 332.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.008832, allocations: 0.7867 MB / 333.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.009694, allocations: 399.6 kB / 333.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.01017, allocations: 210.8 kB / 334 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.0102, allocations: 15.94 kB / 334 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.01022, allocations: 38.5 kB / 334.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.01023, allocations: 0 / 334.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002596/0.01282, allocations: 1.87 MB / 336 MB, free: 4.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.01287, allocations: 114.8 kB / 336.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.01299, allocations: 191.7 kB / 336.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.01302, allocations: 29.7 kB / 336.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.01308, allocations: 152.8 kB / 336.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.01316, allocations: 146.7 kB / 336.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.01324, allocations: 74.19 kB / 336.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.01332, allocations: 334.8 kB / 337 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.0135, allocations: 112.9 kB / 337.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.01368, allocations: 162.1 kB / 337.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.01404, allocations: 291.1 kB / 337.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01404, allocations: 0 / 337.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004406/0.01448, allocations: 376.1 kB / 337.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.01449, allocations: 8 kB / 337.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.0145, allocations: 0 / 337.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.01451, allocations: 4 kB / 337.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.01484, allocations: 151.8 kB / 338.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01485, allocations: 7.984 kB / 338.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01495, allocations: 23.98 kB / 338.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01497, allocations: 16 kB / 338.1 MB, free: 2.574 MB / 298.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 9.886e-05/0.01506, allocations: 149.7 kB / 338.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.01512, allocations: 31.81 kB / 338.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.01516, allocations: 29.45 kB / 338.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01516, allocations: 4 kB / 338.3 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.01517, allocations: 7.938 kB / 338.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01518, allocations: 3.984 kB / 338.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.01649, allocations: 1.202 MB / 339.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.01649, allocations: 4 kB / 339.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.01689, allocations: 164 kB / 339.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01689, allocations: 4 kB / 339.7 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01691, allocations: 15.98 kB / 339.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.01691, allocations: 7.938 kB / 339.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01692, allocations: 0 / 339.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.01799, allocations: 0.9566 MB / 340.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.01806, allocations: 55.83 kB / 340.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.01809, allocations: 11.98 kB / 340.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.01829, allocations: 43.95 kB / 340.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.01836, allocations: 39.88 kB / 340.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.01838, allocations: 23.98 kB / 340.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.01845, allocations: 135 kB / 341 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01845, allocations: 0 / 341 MB, free: 15.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.01872, allocations: 80 kB / 341.1 MB, free: 15.49 MB / 314.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 8.916e-05/0.01881, allocations: 111.1 kB / 341.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000531/0.01934, allocations: 348.8 kB / 341.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01934, allocations: 0 / 341.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.0197, allocations: 251.9 kB / 341.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.0201, allocations: 63.52 kB / 341.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.02253, allocations: 1.323 MB / 343.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.02263, allocations: 160 kB / 343.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.02272, allocations: 36.48 kB / 343.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02272, allocations: 0 / 343.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of Templates: time 0.003591/0.02631, allocations: 4.011 MB / 347.3 MB, free: 9.141 MB / 314.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.062776233069599]