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.001265/0.001265, allocations: 116 kB / 18.45 MB, free: 4.562 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.001407/0.001407, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.487/1.487, allocations: 230.6 MB / 254.8 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.001521/0.001521, allocations: 51.94 kB / 374.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1013, allocations: 53.33 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003829/0.1052, allocations: 2.466 MB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1067, allocations: 0.7717 MB / 430.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1068, allocations: 7.938 kB / 430.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.107, allocations: 39.53 kB / 430.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.1072, allocations: 107.1 kB / 430.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.1076, allocations: 139.2 kB / 431 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.1081, allocations: 458.2 kB / 431.4 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1083, allocations: 56.95 kB / 431.5 MB, free: 228 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.1086, allocations: 195.4 kB / 431.7 MB, free: 32 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2023/0.3108, allocations: 203.4 kB / 431.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.311, allocations: 40.06 kB / 431.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.3112, allocations: 37.72 kB / 432 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3113, allocations: 85.09 kB / 432.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.3116, allocations: 171.5 kB / 432.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.3123, allocations: 419.7 kB / 432.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3123, allocations: 0.7188 kB / 432.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3123, allocations: 0 / 432.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.3123, allocations: 1.906 kB / 432.6 MB, free: 8.328 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.001751/0.3141, allocations: 0.6917 MB / 433.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3141, allocations: 9.688 kB / 433.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.3143, allocations: 34.84 kB / 433.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.3147, allocations: 274.7 kB / 433.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.3148, allocations: 83.88 kB / 433.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.3149, allocations: 24.16 kB / 433.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009/0.3158, allocations: 388.8 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.3158, allocations: 2.094 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.3158, allocations: 9.375 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3159, allocations: 7.719 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.317, allocations: 391.2 kB / 434.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3184, allocations: 0.9695 MB / 435.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3195, allocations: 397.1 kB / 435.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/0.3202, allocations: 206.9 kB / 436.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.3202, allocations: 8.234 kB / 436.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3202, allocations: 37.02 kB / 436.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.3202, allocations: 0 / 436.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004892/0.3251, allocations: 2.323 MB / 438.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3251, allocations: 115.7 kB / 438.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3253, allocations: 207.6 kB / 438.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3254, allocations: 34.14 kB / 438.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.3254, allocations: 147.5 kB / 438.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/0.3255, allocations: 144.2 kB / 439.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.3257, allocations: 77.84 kB / 439.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.3257, allocations: 335.6 kB / 439.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.3261, allocations: 110 kB / 439.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.3264, allocations: 165.9 kB / 439.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.3271, allocations: 293.1 kB / 440 MB, free: 4.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3271, allocations: 0 / 440 MB, free: 4.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008402/0.3279, allocations: 369.3 kB / 440.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3279, allocations: 5.531 kB / 440.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3279, allocations: 6.719 kB / 440.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.328, allocations: 3.625 kB / 440.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.3287, allocations: 147.8 kB / 440.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3287, allocations: 8.875 kB / 440.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.329, allocations: 24.48 kB / 440.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.329, allocations: 15.72 kB / 440.6 MB, free: 4.383 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.0001217/0.3291, allocations: 146.5 kB / 440.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.3292, allocations: 30.56 kB / 440.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.3293, allocations: 41.59 kB / 440.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3293, allocations: 4.844 kB / 440.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3293, allocations: 1.406 kB / 440.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3293, allocations: 1.875 kB / 440.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.3317, allocations: 1.327 MB / 442.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3317, allocations: 2.375 kB / 442.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.3326, allocations: 170 kB / 442.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3326, allocations: 3.281 kB / 442.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.3326, allocations: 15.53 kB / 442.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3327, allocations: 7.156 kB / 442.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.3327, allocations: 13.75 kB / 442.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.3351, allocations: 0.9463 MB / 443.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.3352, allocations: 131.3 kB / 443.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.3353, allocations: 8.547 kB / 443.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.3357, allocations: 51.52 kB / 443.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3359, allocations: 41 kB / 443.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.3359, allocations: 16.16 kB / 443.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.336, allocations: 153.3 kB / 443.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.336, allocations: 1.156 kB / 443.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.3365, allocations: 86.5 kB / 443.8 MB, free: 2.551 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.0001228/0.3366, allocations: 107.1 kB / 443.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3377, allocations: 365.4 kB / 444.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3377, allocations: 0 / 444.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.3384, allocations: 243.7 kB / 444.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.3391, allocations: 74.75 kB / 444.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.3443, allocations: 1.465 MB / 446 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.3446, allocations: 0.7708 MB / 446.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.3447, allocations: 37.56 kB / 446.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3447, allocations: 0 / 446.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Templates: time 0.008233/0.353, allocations: 3.932 MB / 450.8 MB, free: 436 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/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: 7.435598236013902]