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.001826/0.001826, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002142/0.002142, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8 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.001603/0.001603, allocations: 51.86 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2571, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003742/0.2608, allocations: 2.476 MB / 433.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2623, allocations: 0.7795 MB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2625, allocations: 7.938 kB / 434.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2626, allocations: 39.53 kB / 434.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.2628, allocations: 107.1 kB / 434.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.2632, allocations: 134.8 kB / 434.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.2637, allocations: 462.3 kB / 435.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.2639, allocations: 58.05 kB / 435.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.2641, allocations: 203.4 kB / 435.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.2644, allocations: 211.3 kB / 435.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.2645, allocations: 36 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.2645, allocations: 40 kB / 435.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.2646, allocations: 79.75 kB / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.2648, allocations: 187.2 kB / 435.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.2653, allocations: 410.9 kB / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2653, allocations: 4 kB / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2653, allocations: 0 / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2653, allocations: 0 / 436.3 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.001522/0.2668, allocations: 0.6066 MB / 436.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2668, allocations: 12.03 kB / 436.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.47e-05/0.2669, allocations: 70.66 kB / 437 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.267, allocations: 36.75 kB / 437 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.2674, allocations: 206 kB / 437.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.2676, allocations: 147.4 kB / 437.4 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.2676, allocations: 28 kB / 437.4 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.2685, allocations: 382.3 kB / 437.8 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2685, allocations: 0 / 437.8 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.2685, allocations: 15.98 kB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2686, allocations: 8 kB / 437.8 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2698, allocations: 391.5 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.2712, allocations: 0.9342 MB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.2723, allocations: 387.6 kB / 439.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/0.2728, allocations: 210.4 kB / 439.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2729, allocations: 7.984 kB / 439.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.2729, allocations: 42.55 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.2729, allocations: 0 / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004709/0.2776, allocations: 1.871 MB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.2777, allocations: 115 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.2779, allocations: 203.2 kB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.278, allocations: 33.64 kB / 442 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2781, allocations: 148.8 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2782, allocations: 146.7 kB / 442.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.2784, allocations: 78.06 kB / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2785, allocations: 334.8 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.2789, allocations: 108.8 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.2792, allocations: 173.4 kB / 442.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.2798, allocations: 299.4 kB / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2798, allocations: 4 kB / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008152/0.2807, allocations: 368.2 kB / 443.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2807, allocations: 12.09 kB / 443.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2807, allocations: 0 / 443.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2807, allocations: 4 kB / 443.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.2814, allocations: 147.8 kB / 443.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.2814, allocations: 3.984 kB / 443.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.2816, allocations: 27.97 kB / 443.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.2817, allocations: 12 kB / 443.8 MB, free: 9.711 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.00016/0.2818, allocations: 153.7 kB / 443.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2819, allocations: 35.75 kB / 444 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.282, allocations: 33.45 kB / 444 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.282, allocations: 4 kB / 444 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.282, allocations: 0 / 444 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.282, allocations: 4 kB / 444 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.2844, allocations: 1.291 MB / 445.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2844, allocations: 0 / 445.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.2853, allocations: 172 kB / 445.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.2853, allocations: 4 kB / 445.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.2853, allocations: 19.92 kB / 445.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.2853, allocations: 4 kB / 445.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.2853, allocations: 11.94 kB / 445.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.2873, allocations: 0.9491 MB / 446.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.2875, allocations: 55.83 kB / 446.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.2876, allocations: 11.94 kB / 446.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.288, allocations: 47.94 kB / 446.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2881, allocations: 43.97 kB / 446.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.2881, allocations: 15.94 kB / 446.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.2882, allocations: 152.6 kB / 446.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2882, allocations: 0 / 446.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.2887, allocations: 88 kB / 446.9 MB, free: 6.496 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.002432/0.2912, allocations: 1.493 MB / 448.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2922, allocations: 359.5 kB / 448.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2922, allocations: 0 / 448.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.2929, allocations: 244 kB / 449 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007384/0.2936, allocations: 60.89 kB / 449 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.3018, allocations: 3.876 MB / 452.9 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.3023, allocations: 0.7682 MB / 453.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.3025, allocations: 34.97 kB / 453.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.3027, allocations: 99.39 kB / 453.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3027, allocations: 4.125 kB / 453.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.3409, allocations: 7.535 MB / 461.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.74, allocations: 11.62 kB / 461.3 MB, free: 7.977 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.310392723000405]