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.002063/0.002063, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002311/0.002311, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.615/1.615, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001857/0.001857, allocations: 51.92 kB / 373.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1084, allocations: 53.32 MB / 426.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004402/0.1128, allocations: 2.473 MB / 429.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1145, allocations: 0.7678 MB / 430 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.1148, allocations: 7.938 kB / 430 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.115, allocations: 39.58 kB / 430.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.1154, allocations: 111.1 kB / 430.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.1159, allocations: 123.8 kB / 430.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006417/0.1166, allocations: 466.2 kB / 430.8 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1168, allocations: 60.94 kB / 430.8 MB, free: 344 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.117, allocations: 187.5 kB / 431 MB, free: 156 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1864/0.3034, allocations: 208.1 kB / 431.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3036, allocations: 38.56 kB / 431.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3037, allocations: 38.19 kB / 431.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.3038, allocations: 84.8 kB / 431.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.304, allocations: 175 kB / 431.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.3044, allocations: 418.3 kB / 431.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3044, allocations: 0 / 431.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3044, allocations: 0 / 431.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3044, allocations: 0.9688 kB / 431.9 MB, free: 8.824 MB / 350.1 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.001578/0.306, allocations: 0.6935 MB / 432.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3061, allocations: 9.531 kB / 432.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.3062, allocations: 34.97 kB / 432.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3065, allocations: 268.4 kB / 432.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.3066, allocations: 90.61 kB / 433 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.3067, allocations: 25.2 kB / 433.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.3076, allocations: 385.8 kB / 433.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.3076, allocations: 1.969 kB / 433.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.3077, allocations: 12.25 kB / 433.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3077, allocations: 7.594 kB / 433.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.309, allocations: 388 kB / 433.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3102, allocations: 0.9684 MB / 434.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.3113, allocations: 397.5 kB / 435.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.3119, allocations: 214 kB / 435.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.312, allocations: 4.344 kB / 435.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.312, allocations: 40.12 kB / 435.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.312, allocations: 4 kB / 435.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004882/0.3169, allocations: 2.328 MB / 437.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.3169, allocations: 108.2 kB / 437.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.3171, allocations: 200.9 kB / 438.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.3171, allocations: 31.73 kB / 438.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.3172, allocations: 152.3 kB / 438.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.3173, allocations: 141.6 kB / 438.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.3174, allocations: 83.44 kB / 438.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.3175, allocations: 333.2 kB / 438.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.3178, allocations: 106.7 kB / 438.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.3181, allocations: 167.9 kB / 439.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.3188, allocations: 301.5 kB / 439.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3188, allocations: 0.875 kB / 439.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008319/0.3196, allocations: 363.8 kB / 439.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3196, allocations: 7 kB / 439.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3196, allocations: 5.094 kB / 439.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.3197, allocations: 3.844 kB / 439.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.3204, allocations: 149.3 kB / 439.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3204, allocations: 3.781 kB / 439.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.3206, allocations: 32.11 kB / 439.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3207, allocations: 9.844 kB / 439.9 MB, free: 4.633 MB / 350.1 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.0001131/0.3208, allocations: 149.4 kB / 440.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.3209, allocations: 33.62 kB / 440.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.3209, allocations: 34.23 kB / 440.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3209, allocations: 4.344 kB / 440.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3209, allocations: 5.219 kB / 440.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.321, allocations: 3.156 kB / 440.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.3232, allocations: 1.333 MB / 441.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3232, allocations: 2.375 kB / 441.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/0.3241, allocations: 173.4 kB / 441.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3241, allocations: 5.188 kB / 441.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.3241, allocations: 10.33 kB / 441.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3241, allocations: 5.031 kB / 441.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3241, allocations: 7.781 kB / 441.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.3262, allocations: 0.9496 MB / 442.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3263, allocations: 130.9 kB / 442.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.3263, allocations: 13.98 kB / 442.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/0.3268, allocations: 46.89 kB / 442.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3269, allocations: 44.78 kB / 442.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.3269, allocations: 12.3 kB / 442.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.327, allocations: 151.3 kB / 443 MB, free: 2.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.327, allocations: 0 / 443 MB, free: 2.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004611/0.3275, allocations: 83.41 kB / 443.1 MB, free: 2.805 MB / 350.1 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.0001071/0.3276, allocations: 107.7 kB / 443.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3286, allocations: 364.4 kB / 443.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3286, allocations: 3.938 kB / 443.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007009/0.3293, allocations: 239.5 kB / 443.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.33, allocations: 82.56 kB / 443.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.3351, allocations: 1.43 MB / 445.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.3354, allocations: 0.7672 MB / 446.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.3355, allocations: 40.88 kB / 446.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3356, allocations: 35.44 kB / 446.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3356, allocations: 5.438 kB / 446.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Templates: time 0.008848/0.3445, allocations: 4.397 MB / 450.6 MB, free: 0.5977 MB / 350.1 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.742814768105745]