Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, allocations: 95.59 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 156.9 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.886e-05, allocations: 5.266 kB / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004294/0.004323, allocations: 2.452 MB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.005816, allocations: 0.7482 MB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.005938, allocations: 7.938 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.006102, allocations: 39.59 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.006344, allocations: 115 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.00669, allocations: 131.7 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005497/0.00724, allocations: 482 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.007401, allocations: 53.14 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.007779, allocations: 275.4 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.008049, allocations: 167.6 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.386e-05/0.008123, allocations: 36 kB / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.008201, allocations: 40 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.008305, allocations: 91.7 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.008474, allocations: 127.7 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.009043, allocations: 446.6 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.009046, allocations: 0 / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009047, allocations: 0 / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.009053, allocations: 0 / 277.3 MB, free: 12.65 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.00154/0.01059, allocations: 0.6906 MB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.01063, allocations: 11.98 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.01076, allocations: 64.7 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.01115, allocations: 224.6 kB / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.01131, allocations: 135.9 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.01138, allocations: 24.38 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.01232, allocations: 387 kB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.01235, allocations: 11.95 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.01238, allocations: 12 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.01239, allocations: 8 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.01354, allocations: 347.7 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01507, allocations: 1.006 MB / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.01615, allocations: 413 kB / 280.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.01675, allocations: 211 kB / 280.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.01679, allocations: 11.94 kB / 280.9 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.01682, allocations: 37.39 kB / 280.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 8.556e-06/0.01683, allocations: 0 / 280.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.005028/0.02185, allocations: 1.85 MB / 282.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.02194, allocations: 110.8 kB / 282.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.02221, allocations: 270.7 kB / 283.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.02225, allocations: 33.7 kB / 283.2 MB, free: 6.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.0224, allocations: 199.5 kB / 283.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.02255, allocations: 158.7 kB / 283.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.02272, allocations: 87.83 kB / 283.6 MB, free: 5.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003996/0.02312, allocations: 0.5157 MB / 284.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.02341, allocations: 92.95 kB / 284.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.02376, allocations: 183.1 kB / 284.4 MB, free: 5.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/0.02438, allocations: 300.1 kB / 284.7 MB, free: 4.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02438, allocations: 0 / 284.7 MB, free: 4.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008162/0.02519, allocations: 357.3 kB / 285 MB, free: 4.469 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.02521, allocations: 4 kB / 285 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.02522, allocations: 4 kB / 285 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.02524, allocations: 0 / 285 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.02588, allocations: 127.8 kB / 285.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.02589, allocations: 4 kB / 285.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.02609, allocations: 28.02 kB / 285.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.02611, allocations: 8 kB / 285.2 MB, free: 4.297 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.0001986/0.02631, allocations: 196.4 kB / 285.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.02644, allocations: 47.75 kB / 285.4 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.02653, allocations: 37.44 kB / 285.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.02654, allocations: 4 kB / 285.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.02654, allocations: 3.938 kB / 285.5 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.02655, allocations: 0 / 285.5 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.02917, allocations: 1.366 MB / 286.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.02917, allocations: 0 / 286.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008118/0.02998, allocations: 139.8 kB / 287 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.02999, allocations: 4 kB / 287 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.03003, allocations: 12 kB / 287 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.03004, allocations: 8.031 kB / 287 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.03004, allocations: 7.984 kB / 287 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.03239, allocations: 1.094 MB / 288.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.03253, allocations: 47.81 kB / 288.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.03259, allocations: 8 kB / 288.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.03297, allocations: 31.97 kB / 288.2 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.03309, allocations: 47.86 kB / 288.2 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.03312, allocations: 12.06 kB / 288.2 MB, free: 1.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.0333, allocations: 191.1 kB / 288.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0333, allocations: 0 / 288.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004884/0.03379, allocations: 76 kB / 288.5 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.0001674/0.03396, allocations: 111.1 kB / 288.6 MB, free: 0.707 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000991/0.03495, allocations: 372.5 kB / 289 MB, free: 352 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03495, allocations: 0 / 289 MB, free: 352 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.03566, allocations: 239.4 kB / 289.2 MB, free: 108 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.03638, allocations: 101.3 kB / 289.3 MB, free: 8 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.0411, allocations: 1.264 MB / 290.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.0413, allocations: 160 kB / 290.7 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.04147, allocations: 42.95 kB / 290.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.0416, allocations: 32.5 kB / 290.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.04161, allocations: 3.938 kB / 290.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Templates: time 0.01027/0.05187, allocations: 4.454 MB / 295.3 MB, free: 10.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.52923538396135]