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.0009359/0.0009359, allocations: 80.8 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.0009009/0.0009009, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9806/0.9806, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.643e-06/1.643e-06, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.58e-05, allocations: 6.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003147/0.003173, allocations: 2.449 MB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.004601, allocations: 0.7714 MB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.004737, allocations: 11.94 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.004887, allocations: 43.52 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.005118, allocations: 111 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.005492, allocations: 131.7 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.00593, allocations: 478 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.006079, allocations: 75.02 kB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.006412, allocations: 267.4 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.006615, allocations: 163.6 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.006671, allocations: 36 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.161e-05/0.006722, allocations: 40 kB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.006792, allocations: 87.72 kB / 278.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.006911, allocations: 135.7 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.007233, allocations: 299 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.007236, allocations: 0 / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007237, allocations: 4 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.007242, allocations: 0 / 278.5 MB, free: 12.23 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.0009243/0.008166, allocations: 0.5544 MB / 279.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.008201, allocations: 16.03 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.685e-05/0.008288, allocations: 48.91 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.008547, allocations: 177.3 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.00867, allocations: 139.9 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.008722, allocations: 24.38 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.009153, allocations: 279.2 kB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.00917, allocations: 7.953 kB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.009195, allocations: 12 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.009204, allocations: 4 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.009426, allocations: 127.2 kB / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.01024, allocations: 0.621 MB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.01052, allocations: 183.8 kB / 280.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.01064, allocations: 90.97 kB / 280.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.01066, allocations: 15.94 kB / 280.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.01068, allocations: 34.5 kB / 280.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.764e-06/0.01069, allocations: 0 / 280.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001555/0.01224, allocations: 1.149 MB / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.01229, allocations: 114.8 kB / 282.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.01242, allocations: 182.9 kB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.01244, allocations: 33.7 kB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.01251, allocations: 140.7 kB / 282.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/0.0126, allocations: 146.7 kB / 282.6 MB, free: 7.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.01271, allocations: 78.14 kB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.01281, allocations: 338.8 kB / 283 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.01292, allocations: 48.91 kB / 283 MB, free: 7.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.01303, allocations: 98.08 kB / 283.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.01322, allocations: 176.5 kB / 283.3 MB, free: 7.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.01322, allocations: 0 / 283.3 MB, free: 7.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002671/0.01349, allocations: 181.5 kB / 283.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01351, allocations: 4 kB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01351, allocations: 0 / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.01353, allocations: 4 kB / 283.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.01391, allocations: 123.9 kB / 283.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01392, allocations: 7.984 kB / 283.6 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.01403, allocations: 23.88 kB / 283.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.01405, allocations: 12 kB / 283.6 MB, free: 6.688 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.0001059/0.01416, allocations: 129.7 kB / 283.8 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.01424, allocations: 35.98 kB / 283.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.01429, allocations: 29.45 kB / 283.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01429, allocations: 4 kB / 283.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.0143, allocations: 0 / 283.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.01431, allocations: 11.92 kB / 283.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009978/0.0153, allocations: 0.8043 MB / 284.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01531, allocations: 4 kB / 284.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.01575, allocations: 135.8 kB / 284.8 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.01575, allocations: 4 kB / 284.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.01578, allocations: 12.19 kB / 284.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.01579, allocations: 15.94 kB / 284.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.01579, allocations: 4 kB / 284.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.01633, allocations: 0.5614 MB / 285.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.01641, allocations: 27.84 kB / 285.4 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.01645, allocations: 8 kB / 285.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.01671, allocations: 35.97 kB / 285.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.01679, allocations: 47.86 kB / 285.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.01681, allocations: 8 kB / 285.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.01686, allocations: 62.09 kB / 285.6 MB, free: 4.641 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01686, allocations: 0 / 285.6 MB, free: 4.641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000391/0.01725, allocations: 80 kB / 285.6 MB, free: 4.562 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.0001323/0.01739, allocations: 92.3 kB / 285.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.01766, allocations: 177.5 kB / 285.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.01766, allocations: 4 kB / 285.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.01782, allocations: 116.6 kB / 286 MB, free: 4.164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.01836, allocations: 91.8 kB / 286.1 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.02109, allocations: 1.041 MB / 287.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.02118, allocations: 92.81 kB / 287.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.02132, allocations: 34.97 kB / 287.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.02153, allocations: 123.3 kB / 287.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of SimCode: time 1.273e-06/0.02153, allocations: 0 / 287.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of Templates: time 0.1139/0.1355, allocations: 4.852 MB / 292.2 MB, free: 26.34 MB / 266.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","",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.8685250990092754]