Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.4 MB / 251.1 MB, free: 8.48 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.83 kB / 368.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2482, allocations: 53.31 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003577/0.2518, allocations: 2.463 MB / 424.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.253, allocations: 0.7795 MB / 425.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2532, allocations: 4 kB / 425.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.2533, allocations: 47.52 kB / 425.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.2535, allocations: 103.1 kB / 425.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.2538, allocations: 123.8 kB / 425.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.2543, allocations: 462.3 kB / 426.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2545, allocations: 68.91 kB / 426.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.2547, allocations: 187.4 kB / 426.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.255, allocations: 211.2 kB / 426.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.2551, allocations: 40 kB / 426.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.2551, allocations: 36 kB / 426.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.2552, allocations: 87.72 kB / 426.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.2554, allocations: 175.2 kB / 427 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.2558, allocations: 422 kB / 427.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2558, allocations: 0 / 427.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2558, allocations: 0 / 427.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.2558, allocations: 0 / 427.4 MB, free: 2.664 MB / 334.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.001577/0.2574, allocations: 0.682 MB / 428.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2575, allocations: 12.03 kB / 428.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.2575, allocations: 32.75 kB / 428.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.2579, allocations: 272.7 kB / 428.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.258, allocations: 92.27 kB / 428.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.2581, allocations: 28 kB / 428.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008964/0.259, allocations: 379.2 kB / 428.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.259, allocations: 7.922 kB / 428.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.2591, allocations: 15.98 kB / 428.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2591, allocations: 4 kB / 428.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.2602, allocations: 391.6 kB / 429.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2616, allocations: 0.9741 MB / 430.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.2626, allocations: 391.6 kB / 430.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/0.2632, allocations: 214.4 kB / 430.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2633, allocations: 7.938 kB / 430.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.2633, allocations: 38.56 kB / 430.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.2633, allocations: 0 / 430.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004839/0.2681, allocations: 2.328 MB / 433.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.2682, allocations: 118.8 kB / 433.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.2684, allocations: 199.2 kB / 433.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.2685, allocations: 33.7 kB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2686, allocations: 148.8 kB / 433.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2687, allocations: 142.7 kB / 433.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.2688, allocations: 82.06 kB / 434 MB, free: 11.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.269, allocations: 334.8 kB / 434.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.2693, allocations: 112.8 kB / 434.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.2697, allocations: 169.4 kB / 434.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.2703, allocations: 284 kB / 434.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2703, allocations: 0 / 434.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008257/0.2711, allocations: 372.7 kB / 435.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2711, allocations: 12.09 kB / 435.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2711, allocations: 0 / 435.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2712, allocations: 4 kB / 435.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.2719, allocations: 147.8 kB / 435.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2719, allocations: 0 / 435.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.2721, allocations: 31.97 kB / 435.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2722, allocations: 12 kB / 435.4 MB, free: 10.11 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.0001564/0.2723, allocations: 149.7 kB / 435.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.2724, allocations: 35.75 kB / 435.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.2725, allocations: 34.45 kB / 435.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2725, allocations: 4 kB / 435.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2725, allocations: 0 / 435.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2725, allocations: 4 kB / 435.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.2748, allocations: 1.327 MB / 437 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2748, allocations: 0 / 437 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008283/0.2757, allocations: 172 kB / 437.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.2757, allocations: 4 kB / 437.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.2757, allocations: 15.92 kB / 437.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2757, allocations: 4 kB / 437.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2757, allocations: 4 kB / 437.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.2777, allocations: 0.9517 MB / 438.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.2779, allocations: 132.9 kB / 438.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.2779, allocations: 15.94 kB / 438.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.2783, allocations: 47.94 kB / 438.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.2784, allocations: 39.89 kB / 438.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.2785, allocations: 20.11 kB / 438.4 MB, free: 7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.2786, allocations: 144.6 kB / 438.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2786, allocations: 0 / 438.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.279, allocations: 84 kB / 438.6 MB, free: 6.777 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.0001356/0.2791, allocations: 115.1 kB / 438.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000983/0.2801, allocations: 351.8 kB / 439 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2801, allocations: 0 / 439 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.2808, allocations: 244 kB / 439.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.2815, allocations: 77.17 kB / 439.3 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.2862, allocations: 1.439 MB / 440.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.2867, allocations: 0.772 MB / 441.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.2868, allocations: 38.97 kB / 441.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.2869, allocations: 35.42 kB / 441.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2869, allocations: 3.938 kB / 441.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of Templates: time 0.008596/0.2955, allocations: 4.446 MB / 446.1 MB, free: 15.21 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches