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.0009567/0.0009567, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001084/0.001084, allocations: 170.5 kB / 24.82 MB, free: 9.273 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.9951/0.9951, 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.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.322e-05, allocations: 2.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002601/0.002624, allocations: 2.447 MB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003711, allocations: 0.752 MB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.003826, allocations: 11.94 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003947, allocations: 39.58 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.004105, allocations: 115 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.004364, allocations: 131.7 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.00468, allocations: 486 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.004817, allocations: 53.14 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.00506, allocations: 267.5 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.00521, allocations: 163.6 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.005255, allocations: 40 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.394e-05/0.005299, allocations: 36 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.005358, allocations: 91.7 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.11e-05/0.005449, allocations: 135.7 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.005709, allocations: 303 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005711, allocations: 0 / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005712, allocations: 0 / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.005717, allocations: 4 kB / 278.4 MB, free: 12.24 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.0008418/0.006559, allocations: 0.6869 MB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.006599, allocations: 8.031 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.006679, allocations: 56.75 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.006916, allocations: 216.1 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.007007, allocations: 135.9 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.007048, allocations: 32.31 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.007394, allocations: 283.8 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.007411, allocations: 4 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.007431, allocations: 8 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.007442, allocations: 8 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.007621, allocations: 146 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.00837, allocations: 0.8777 MB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.008633, allocations: 237.3 kB / 281.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.008744, allocations: 103.2 kB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.008766, allocations: 8 kB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.00879, allocations: 45.33 kB / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.442e-06/0.008792, allocations: 0 / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001216/0.01001, allocations: 1.209 MB / 282.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.01004, allocations: 110.8 kB / 282.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.01016, allocations: 242 kB / 282.8 MB, free: 7.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.01018, allocations: 33.7 kB / 282.8 MB, free: 7.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.01026, allocations: 195.5 kB / 283 MB, free: 7.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.01033, allocations: 142.7 kB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.01042, allocations: 87.75 kB / 283.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.01055, allocations: 0.504 MB / 283.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01065, allocations: 56.95 kB / 283.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/0.01075, allocations: 115 kB / 283.9 MB, free: 6.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.0109, allocations: 172.8 kB / 284.1 MB, free: 6.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.0109, allocations: 0 / 284.1 MB, free: 6.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002483/0.01115, allocations: 237.2 kB / 284.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01117, allocations: 8.094 kB / 284.3 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01117, allocations: 4 kB / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01118, allocations: 7.938 kB / 284.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.01147, allocations: 123.8 kB / 284.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01147, allocations: 7.938 kB / 284.5 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/0.01156, allocations: 23.98 kB / 284.5 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01157, allocations: 8 kB / 284.5 MB, free: 5.656 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 9.376e-05/0.01166, allocations: 172.5 kB / 284.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.01172, allocations: 35.86 kB / 284.7 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.01176, allocations: 33.45 kB / 284.7 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.01177, allocations: 8 kB / 284.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01177, allocations: 3.938 kB / 284.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01177, allocations: 7.922 kB / 284.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.01279, allocations: 1.086 MB / 285.8 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.01279, allocations: 4 kB / 285.8 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.01327, allocations: 148 kB / 286 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.01327, allocations: 4 kB / 286 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.0133, allocations: 12 kB / 286 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.0133, allocations: 7.984 kB / 286 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.01331, allocations: 7.938 kB / 286 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.01396, allocations: 0.7704 MB / 286.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.01405, allocations: 47.81 kB / 286.8 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.01408, allocations: 8 kB / 286.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.01435, allocations: 35.97 kB / 286.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.01443, allocations: 51.8 kB / 286.9 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.01445, allocations: 4 kB / 286.9 MB, free: 3.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.01453, allocations: 172.4 kB / 287.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01453, allocations: 8 kB / 287.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.01493, allocations: 80 kB / 287.2 MB, free: 2.824 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.0001032/0.01503, allocations: 109.1 kB / 287.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.01531, allocations: 203.2 kB / 287.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.01531, allocations: 0 / 287.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.01549, allocations: 136.2 kB / 287.6 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.01607, allocations: 80.11 kB / 287.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.01894, allocations: 1.174 MB / 288.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.225e-05/0.01902, allocations: 92.81 kB / 289 MB, free: 0.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.01915, allocations: 38.95 kB / 289 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.01937, allocations: 146.2 kB / 289.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01937, allocations: 0 / 289.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of Templates: time 0.007881/0.02725, allocations: 4.866 MB / 294 MB, free: 11.99 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","",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.6239552297629416]