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.001323/0.001323, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001431/0.001431, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.777 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2523, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003843/0.2562, allocations: 2.305 MB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2578, allocations: 0.7406 MB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.2579, allocations: 7.938 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.2581, allocations: 47.52 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.2583, allocations: 111.1 kB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.2587, allocations: 127.8 kB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.2592, allocations: 466.2 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2594, allocations: 61.09 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2597, allocations: 195.4 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.2599, allocations: 207.3 kB / 435.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.26, allocations: 40 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.2601, allocations: 36 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.2602, allocations: 87.8 kB / 435.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.2603, allocations: 155.3 kB / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.2608, allocations: 420.1 kB / 436 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2608, allocations: 0 / 436 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2608, allocations: 0 / 436 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.2609, allocations: 0 / 436 MB, free: 1.645 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.001529/0.2624, allocations: 0.6105 MB / 436.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.2624, allocations: 12.03 kB / 436.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.484e-05/0.2625, allocations: 62.73 kB / 436.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.2626, allocations: 36.69 kB / 436.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.263, allocations: 214 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.2632, allocations: 139.4 kB / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.2632, allocations: 28 kB / 437.1 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.2641, allocations: 382.3 kB / 437.5 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.2642, allocations: 4 kB / 437.5 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.2642, allocations: 8 kB / 437.5 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.2642, allocations: 8 kB / 437.5 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.2654, allocations: 387.6 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2668, allocations: 0.8561 MB / 438.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2679, allocations: 395.5 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.2685, allocations: 222.3 kB / 439.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.2686, allocations: 4 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.2686, allocations: 38.56 kB / 439.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.033e-06/0.2686, allocations: 0 / 439.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004742/0.2733, allocations: 1.877 MB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.2734, allocations: 106.8 kB / 441.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.2736, allocations: 203.2 kB / 441.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.2737, allocations: 33.7 kB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2738, allocations: 144.8 kB / 441.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2739, allocations: 150.7 kB / 441.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.2741, allocations: 74.11 kB / 442 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2742, allocations: 338.8 kB / 442.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.2745, allocations: 108.8 kB / 442.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.2749, allocations: 169.4 kB / 442.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.2756, allocations: 303.5 kB / 442.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2756, allocations: 0 / 442.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008761/0.2765, allocations: 371 kB / 443.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.2765, allocations: 8.938 kB / 443.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2765, allocations: 0 / 443.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2765, allocations: 4 kB / 443.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.2773, allocations: 147.9 kB / 443.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.2773, allocations: 8 kB / 443.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.2775, allocations: 27.97 kB / 443.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.2775, allocations: 12 kB / 443.4 MB, free: 9.793 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.0002324/0.2778, allocations: 149.7 kB / 443.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.2779, allocations: 27.8 kB / 443.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.258e-05/0.278, allocations: 33.45 kB / 443.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.278, allocations: 7.938 kB / 443.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2781, allocations: 8 kB / 443.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2781, allocations: 0 / 443.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.2805, allocations: 1.228 MB / 444.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2805, allocations: 4 kB / 444.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.2814, allocations: 168 kB / 445 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.2814, allocations: 4 kB / 445 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.2815, allocations: 19.94 kB / 445.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.2815, allocations: 7.984 kB / 445.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.2815, allocations: 3.938 kB / 445.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.2837, allocations: 0.9566 MB / 446 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.2839, allocations: 51.83 kB / 446.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.284, allocations: 11.94 kB / 446.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.2844, allocations: 51.94 kB / 446.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.2845, allocations: 39.88 kB / 446.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.2846, allocations: 16 kB / 446.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.2847, allocations: 152.6 kB / 446.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2847, allocations: 0 / 446.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.2852, allocations: 84 kB / 446.4 MB, free: 6.648 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.002474/0.2877, allocations: 1.485 MB / 447.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.2888, allocations: 359.3 kB / 448.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2888, allocations: 192 / 448.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000772/0.2896, allocations: 244.4 kB / 448.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.2904, allocations: 84.64 kB / 448.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008689/0.299, allocations: 3.859 MB / 452.5 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.2992, allocations: 160.2 kB / 452.6 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.2994, allocations: 42.95 kB / 452.7 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.2996, allocations: 99.39 kB / 452.7 MB, free: 120 kB / 350.1 MB Notification: Performance of SimCode: time 1.443e-06/0.2996, allocations: 0 / 452.7 MB, free: 120 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.3395, allocations: 8.237 MB / 461 MB, free: 8.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.57, allocations: 4.062 kB / 461 MB, free: 8.066 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv","/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] "Error: Could not read variable springDamper.w_rel in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.974936533981236]