Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 112.2 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 51.91 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2544, allocations: 52.2 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003745/0.2581, allocations: 2.455 MB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.2594, allocations: 0.7445 MB / 425.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2595, allocations: 7.938 kB / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.2597, allocations: 39.59 kB / 425.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.2599, allocations: 103.1 kB / 426 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.2602, allocations: 126.6 kB / 426.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.2607, allocations: 474.1 kB / 426.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.2608, allocations: 65.12 kB / 426.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.2611, allocations: 195.4 kB / 426.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.2613, allocations: 203.3 kB / 427 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.2614, allocations: 36 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.2615, allocations: 40 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.2615, allocations: 87.73 kB / 427.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.2617, allocations: 183.2 kB / 427.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.2622, allocations: 414.8 kB / 427.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2622, allocations: 0 / 427.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2622, allocations: 0 / 427.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2622, allocations: 4 kB / 427.8 MB, free: 9.445 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.001481/0.2637, allocations: 0.6105 MB / 428.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2637, allocations: 12.03 kB / 428.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8e-05/0.2638, allocations: 62.73 kB / 428.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.2639, allocations: 36.73 kB / 428.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.2643, allocations: 214.8 kB / 428.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.2644, allocations: 143.4 kB / 428.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.2645, allocations: 27.94 kB / 428.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008727/0.2653, allocations: 378.4 kB / 429.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.2654, allocations: 3.953 kB / 429.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.2654, allocations: 12 kB / 429.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2654, allocations: 4 kB / 429.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.2666, allocations: 399.5 kB / 429.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2679, allocations: 0.9265 MB / 430.6 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2689, allocations: 395.4 kB / 431 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/0.2695, allocations: 210.4 kB / 431.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2695, allocations: 4 kB / 431.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.2696, allocations: 42.55 kB / 431.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.2696, allocations: 0 / 431.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.004542/0.2741, allocations: 1.871 MB / 433.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.2742, allocations: 110.8 kB / 433.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.2744, allocations: 204.1 kB / 433.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.2744, allocations: 33.7 kB / 433.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2746, allocations: 148.8 kB / 433.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.2747, allocations: 146.7 kB / 433.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.2748, allocations: 78.11 kB / 433.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.275, allocations: 334.8 kB / 434.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.2753, allocations: 108.8 kB / 434.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.2757, allocations: 173.4 kB / 434.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.2763, allocations: 288.8 kB / 434.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2763, allocations: 0 / 434.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000821/0.2771, allocations: 387.8 kB / 435 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2771, allocations: 4 kB / 435 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2772, allocations: 4 kB / 435.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.2772, allocations: 4 kB / 435.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.2779, allocations: 143.9 kB / 435.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2779, allocations: 11.92 kB / 435.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.2781, allocations: 27.97 kB / 435.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2781, allocations: 16 kB / 435.2 MB, free: 1.504 MB / 334.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.0001603/0.2783, allocations: 141.8 kB / 435.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.2784, allocations: 35.73 kB / 435.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.2784, allocations: 33.45 kB / 435.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2784, allocations: 4 kB / 435.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2784, allocations: 0 / 435.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2785, allocations: 4 kB / 435.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.2809, allocations: 1.292 MB / 436.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2809, allocations: 4 kB / 436.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008513/0.2818, allocations: 172 kB / 436.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.2818, allocations: 4 kB / 436.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.2818, allocations: 19.86 kB / 437 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.2818, allocations: 8 kB / 437 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2818, allocations: 4 kB / 437 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.2838, allocations: 0.9407 MB / 437.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2839, allocations: 59.88 kB / 438 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.2839, allocations: 11.94 kB / 438 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.2843, allocations: 47.94 kB / 438 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.2844, allocations: 35.94 kB / 438.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.2845, allocations: 16 kB / 438.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.2846, allocations: 156.6 kB / 438.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2846, allocations: 7.938 kB / 438.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.285, allocations: 80 kB / 438.3 MB, free: 14.3 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.0023/0.2873, allocations: 1.509 MB / 439.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009605/0.2883, allocations: 363.7 kB / 440.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2883, allocations: 0 / 440.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.289, allocations: 244 kB / 440.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.2896, allocations: 68.11 kB / 440.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/0.2977, allocations: 3.87 MB / 444.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.2982, allocations: 0.7682 MB / 445.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.2983, allocations: 38.95 kB / 445.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.2985, allocations: 103.4 kB / 445.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2985, allocations: 0 / 445.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.3468, allocations: 7.535 MB / 452.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.67, allocations: 2.234 kB / 452.8 MB, free: 15.77 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.319018824000523]