Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 142.2 kB / 24.89 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9359/0.9359, allocations: 173.3 MB / 201.5 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.818e-05, allocations: 2.312 kB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002411/0.002429, allocations: 2.486 MB / 271 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003451, allocations: 0.752 MB / 271.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.796e-05/0.003549, allocations: 7.938 kB / 271.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003667, allocations: 43.53 kB / 271.8 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.003833, allocations: 111 kB / 271.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.0041, allocations: 135.7 kB / 272 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.004548, allocations: 478 kB / 272.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.004666, allocations: 63.09 kB / 272.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.004917, allocations: 271.4 kB / 272.8 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.005077, allocations: 167.6 kB / 273 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.005118, allocations: 36 kB / 273 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.614e-05/0.005154, allocations: 36 kB / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.005205, allocations: 87.72 kB / 273.1 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.00529, allocations: 131.7 kB / 273.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.005545, allocations: 303 kB / 273.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.005548, allocations: 0 / 273.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005549, allocations: 4 kB / 273.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005553, allocations: 0 / 273.6 MB, free: 1.082 MB / 250.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.0007033/0.006256, allocations: 0.5546 MB / 274.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.006284, allocations: 8.922 kB / 274.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.006344, allocations: 48.89 kB / 274.2 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.006544, allocations: 189 kB / 274.4 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.778e-05/0.006632, allocations: 143.8 kB / 274.5 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.006668, allocations: 24.38 kB / 274.5 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.006992, allocations: 279.2 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.00701, allocations: 11.94 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.007027, allocations: 8 kB / 274.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007034, allocations: 8 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.007189, allocations: 122.2 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.007815, allocations: 0.6093 MB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.008037, allocations: 199.7 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/0.008128, allocations: 90.48 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.008144, allocations: 4 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.008168, allocations: 46.48 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.312e-06/0.00817, allocations: 0 / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001171/0.009341, allocations: 1.149 MB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.009379, allocations: 106.8 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.009478, allocations: 190.4 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.009496, allocations: 29.7 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.009547, allocations: 144.7 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.009613, allocations: 142.7 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.009695, allocations: 82.08 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.009768, allocations: 334.8 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.009851, allocations: 48.97 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.009925, allocations: 94.09 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.01006, allocations: 168.3 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01007, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001876/0.01025, allocations: 189.2 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01027, allocations: 8 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01027, allocations: 0 / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01029, allocations: 4 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.01061, allocations: 143.9 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.01061, allocations: 0 / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.01069, allocations: 19.98 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.0107, allocations: 16 kB / 278.7 MB, free: 11.52 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 7.589e-05/0.01078, allocations: 133.7 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.01084, allocations: 31.91 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.01088, allocations: 37.45 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01088, allocations: 4 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01088, allocations: 3.938 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01089, allocations: 0 / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008965/0.01178, allocations: 0.7922 MB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.01179, allocations: 4 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.01215, allocations: 166 kB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.01215, allocations: 4 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.01217, allocations: 8 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.01217, allocations: 7.938 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01218, allocations: 3.938 kB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.01259, allocations: 0.5625 MB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.01265, allocations: 35.8 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01267, allocations: 12 kB / 280.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.01284, allocations: 31.97 kB / 280.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.01291, allocations: 43.86 kB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.01292, allocations: 12 kB / 280.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.01296, allocations: 48.78 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01296, allocations: 0 / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002463/0.01321, allocations: 88 kB / 280.7 MB, free: 9.391 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 8.915e-05/0.0133, allocations: 88.36 kB / 280.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.01351, allocations: 170.8 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.01351, allocations: 0 / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.01363, allocations: 126.2 kB / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.01399, allocations: 88.88 kB / 281.2 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.01598, allocations: 1.041 MB / 282.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.01604, allocations: 93.12 kB / 282.3 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.01614, allocations: 42.95 kB / 282.4 MB, free: 7.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.01632, allocations: 127.3 kB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01632, allocations: 0 / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of Templates: time 0.006322/0.02264, allocations: 4.991 MB / 287.5 MB, free: 2.641 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.572883535642177]