Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 127 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002396/0.002396, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 59.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1016, allocations: 53.37 MB / 426.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004051/0.1056, allocations: 2.477 MB / 428.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1072, allocations: 0.7639 MB / 429.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1073, allocations: 7.938 kB / 429.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1075, allocations: 43.58 kB / 429.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.1077, allocations: 111.1 kB / 429.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1081, allocations: 119.8 kB / 429.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.1086, allocations: 470.2 kB / 430.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1088, allocations: 64.94 kB / 430.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.109, allocations: 179.5 kB / 430.6 MB, free: 496 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1093, allocations: 223.2 kB / 430.8 MB, free: 272 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.1093, allocations: 36 kB / 430.8 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.76e-05/0.1094, allocations: 36 kB / 430.8 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.205e-05/0.1095, allocations: 83.8 kB / 430.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1895/0.299, allocations: 171.9 kB / 431.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009436/0.3, allocations: 411.1 kB / 431.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3, allocations: 2.625 kB / 431.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3, allocations: 1.094 kB / 431.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.955e-05/0.3, allocations: 0 / 431.5 MB, free: 7.996 MB / 350.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.001745/0.3018, allocations: 0.6938 MB / 432.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.3018, allocations: 9.469 kB / 432.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.852e-05/0.3019, allocations: 62.84 kB / 432.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.302, allocations: 36.86 kB / 432.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.3023, allocations: 277.2 kB / 432.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-05/0.3024, allocations: 77.83 kB / 432.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/0.3025, allocations: 32.16 kB / 432.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.3034, allocations: 380.5 kB / 433 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.3034, allocations: 5.219 kB / 433.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.3034, allocations: 11.5 kB / 433.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3034, allocations: 8.516 kB / 433.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3046, allocations: 390.8 kB / 433.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.306, allocations: 0.9693 MB / 434.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.3071, allocations: 392.6 kB / 434.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.3077, allocations: 207.5 kB / 435 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3077, allocations: 4.469 kB / 435 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3077, allocations: 43.14 kB / 435.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.3077, allocations: 1.031 kB / 435.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004697/0.3124, allocations: 2.324 MB / 437.4 MB, free: 5.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.3125, allocations: 113.8 kB / 437.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3127, allocations: 201 kB / 437.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3127, allocations: 34.95 kB / 437.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.3128, allocations: 151.4 kB / 437.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.3129, allocations: 141.8 kB / 438 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.313, allocations: 76 kB / 438.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.3131, allocations: 337.2 kB / 438.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.3134, allocations: 111.4 kB / 438.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.3137, allocations: 169.3 kB / 438.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/0.3144, allocations: 291.9 kB / 439 MB, free: 4.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3144, allocations: 1.156 kB / 439 MB, free: 4.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008343/0.3152, allocations: 365.2 kB / 439.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3152, allocations: 10.34 kB / 439.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3152, allocations: 1.859 kB / 439.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3153, allocations: 3.547 kB / 439.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.316, allocations: 149.2 kB / 439.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.316, allocations: 6.203 kB / 439.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3162, allocations: 29.75 kB / 439.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3163, allocations: 13.69 kB / 439.5 MB, free: 4.184 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.000128/0.3164, allocations: 143.1 kB / 439.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3165, allocations: 34.73 kB / 439.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.3166, allocations: 40.47 kB / 439.8 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3166, allocations: 4.094 kB / 439.8 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.3166, allocations: 1.844 kB / 439.8 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3166, allocations: 3.109 kB / 439.8 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.3189, allocations: 1.332 MB / 441.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3189, allocations: 3.703 kB / 441.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/0.3198, allocations: 168.2 kB / 441.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.3198, allocations: 4.344 kB / 441.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.3198, allocations: 15.3 kB / 441.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.3199, allocations: 8.781 kB / 441.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.3199, allocations: 3.094 kB / 441.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.3219, allocations: 0.9516 MB / 442.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.3221, allocations: 134 kB / 442.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.3221, allocations: 9.875 kB / 442.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.3226, allocations: 46.95 kB / 442.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3227, allocations: 45.06 kB / 442.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.3228, allocations: 15.69 kB / 442.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3229, allocations: 150.8 kB / 442.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3229, allocations: 0 / 442.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005053/0.3234, allocations: 79.69 kB / 442.7 MB, free: 2.359 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.002181/0.3256, allocations: 1.501 MB / 444.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3267, allocations: 362.2 kB / 444.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3267, allocations: 5 kB / 444.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.3274, allocations: 239.9 kB / 444.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.3281, allocations: 74.95 kB / 444.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008931/0.3371, allocations: 3.874 MB / 448.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.3375, allocations: 0.768 MB / 449.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.3377, allocations: 41.83 kB / 449.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.338, allocations: 96.78 kB / 449.7 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.338, allocations: 0 / 449.7 MB, free: 14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.3746, allocations: 7.185 MB / 456.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.556/8.931, allocations: 5.797 kB / 456.9 MB, free: 11.81 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.557532984996215]