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.062 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.001445/0.001445, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001575/0.001575, allocations: 51.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2422, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00418/0.2463, allocations: 2.289 MB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.248, allocations: 0.7484 MB / 434.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.2483, allocations: 7.938 kB / 434.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.2485, allocations: 39.53 kB / 434.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.2488, allocations: 107.1 kB / 434.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.2493, allocations: 131.8 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006361/0.25, allocations: 462.3 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2501, allocations: 57.11 kB / 434.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.2505, allocations: 195.4 kB / 435.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.2508, allocations: 179.3 kB / 435.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.345e-05/0.2509, allocations: 40 kB / 435.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.251, allocations: 36 kB / 435.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2511, allocations: 91.73 kB / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.2513, allocations: 155.3 kB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.2518, allocations: 416.1 kB / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2518, allocations: 0 / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2518, allocations: 0 / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.2519, allocations: 11.94 kB / 436 MB, free: 1.699 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.001694/0.2536, allocations: 0.6105 MB / 436.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2536, allocations: 12.03 kB / 436.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.2537, allocations: 62.72 kB / 436.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.836e-05/0.2538, allocations: 32.75 kB / 436.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.2542, allocations: 217.9 kB / 436.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.2544, allocations: 139.4 kB / 437.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.2544, allocations: 28 kB / 437.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/0.2554, allocations: 378.3 kB / 437.5 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.2554, allocations: 7.984 kB / 437.5 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.2555, allocations: 12 kB / 437.5 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2555, allocations: 8 kB / 437.5 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2567, allocations: 391.5 kB / 437.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.2582, allocations: 0.8523 MB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2593, allocations: 395.5 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.2599, allocations: 210.4 kB / 439.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2599, allocations: 8.438 kB / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.26, allocations: 42.5 kB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.26, allocations: 0 / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004886/0.2649, allocations: 1.877 MB / 441.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.265, allocations: 110.8 kB / 441.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.2652, allocations: 211.2 kB / 441.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.2652, allocations: 33.7 kB / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2654, allocations: 148.8 kB / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.2655, allocations: 146.7 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.2656, allocations: 66.12 kB / 441.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2658, allocations: 338.8 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.2661, allocations: 112.8 kB / 442.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.2665, allocations: 161.5 kB / 442.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/0.2672, allocations: 302.1 kB / 442.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2672, allocations: 0 / 442.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008718/0.2681, allocations: 369.1 kB / 443.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2681, allocations: 8 kB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2681, allocations: 0 / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.2681, allocations: 7.984 kB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.2688, allocations: 147.9 kB / 443.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.2688, allocations: 4 kB / 443.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.2691, allocations: 19.98 kB / 443.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.2691, allocations: 16 kB / 443.4 MB, free: 9.852 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.0001733/0.2693, allocations: 149.7 kB / 443.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/0.2694, allocations: 27.8 kB / 443.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.2695, allocations: 33.45 kB / 443.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2695, allocations: 4 kB / 443.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2695, allocations: 4 kB / 443.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2695, allocations: 3.984 kB / 443.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.272, allocations: 1.245 MB / 444.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.272, allocations: 4 kB / 444.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.2729, allocations: 164 kB / 445 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/0.2729, allocations: 4 kB / 445 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.273, allocations: 23.92 kB / 445 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.273, allocations: 7.938 kB / 445.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.273, allocations: 0 / 445.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.2751, allocations: 0.9606 MB / 446 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2753, allocations: 51.83 kB / 446.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.2753, allocations: 16.06 kB / 446.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.2758, allocations: 51.94 kB / 446.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2759, allocations: 35.94 kB / 446.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.2759, allocations: 15.98 kB / 446.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.2761, allocations: 152.6 kB / 446.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2761, allocations: 0 / 446.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004603/0.2765, allocations: 84 kB / 446.4 MB, free: 6.695 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.002492/0.279, allocations: 1.489 MB / 447.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.2801, allocations: 366 kB / 448.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2801, allocations: 0 / 448.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.2808, allocations: 240 kB / 448.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.2815, allocations: 71.88 kB / 448.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008778/0.2903, allocations: 3.859 MB / 452.4 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.2905, allocations: 164.2 kB / 452.6 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.2907, allocations: 42.94 kB / 452.6 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.2909, allocations: 99.41 kB / 452.7 MB, free: 168 kB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2909, allocations: 0 / 452.7 MB, free: 168 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.3307, allocations: 8.123 MB / 460.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.85, allocations: 13.23 kB / 460.9 MB, free: 8.223 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: 14.328514935914427]