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.001077/0.001077, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00122/0.00122, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8587/0.8587, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.403e-06/1.403e-06, allocations: 0 / 324.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.567e-05, allocations: 2.281 kB / 324.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002218/0.002234, allocations: 2.301 MB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003332, allocations: 0.7443 MB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.00343, allocations: 7.938 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003551, allocations: 43.58 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.003699, allocations: 115 kB / 327.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.003948, allocations: 135.3 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.004237, allocations: 489.9 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.004374, allocations: 57.09 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.00458, allocations: 267.5 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.004716, allocations: 167.6 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.004759, allocations: 36 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.004795, allocations: 40 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.004845, allocations: 83.72 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.004926, allocations: 139.6 kB / 329.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.00522, allocations: 438.7 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.005225, allocations: 8 kB / 329.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.005226, allocations: 0 / 329.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.005231, allocations: 0 / 329.6 MB, free: 10.76 MB / 298.7 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.0008703/0.006102, allocations: 0.6066 MB / 330.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.00614, allocations: 8.031 kB / 330.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.00619, allocations: 62.72 kB / 330.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.006241, allocations: 40.75 kB / 330.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.006499, allocations: 213.7 kB / 330.5 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.00661, allocations: 139.8 kB / 330.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.006653, allocations: 28.36 kB / 330.7 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009644/0.007617, allocations: 390.3 kB / 331 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.007633, allocations: 3.984 kB / 331.1 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.007657, allocations: 12 kB / 331.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007663, allocations: 4 kB / 331.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006326/0.008295, allocations: 383.6 kB / 331.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.009156, allocations: 0.8484 MB / 332.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.009753, allocations: 391.5 kB / 332.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.01007, allocations: 214.4 kB / 332.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.0101, allocations: 4 kB / 332.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.01012, allocations: 38.56 kB / 332.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.01012, allocations: 0 / 332.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002558/0.01268, allocations: 1.874 MB / 334.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.01273, allocations: 110.8 kB / 334.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.01287, allocations: 211.2 kB / 335.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.01289, allocations: 29.7 kB / 335.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.01297, allocations: 152.8 kB / 335.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/0.01305, allocations: 146.7 kB / 335.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.01314, allocations: 74.17 kB / 335.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.01322, allocations: 335.8 kB / 335.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.0134, allocations: 112.9 kB / 335.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.01359, allocations: 170.1 kB / 336.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.01396, allocations: 290.6 kB / 336.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01396, allocations: 0 / 336.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004654/0.01443, allocations: 371.7 kB / 336.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01444, allocations: 4 kB / 336.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.01445, allocations: 7.938 kB / 336.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.01446, allocations: 0 / 336.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.01481, allocations: 151.8 kB / 336.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.01482, allocations: 15.86 kB / 336.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.01493, allocations: 31.97 kB / 337 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.01494, allocations: 12 kB / 337 MB, free: 2.91 MB / 298.7 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.0001084/0.01505, allocations: 141.8 kB / 337.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.0151, allocations: 27.86 kB / 337.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.01515, allocations: 37.39 kB / 337.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01515, allocations: 7.984 kB / 337.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01516, allocations: 0 / 337.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01516, allocations: 0 / 337.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.01678, allocations: 1.248 MB / 338.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01679, allocations: 0 / 338.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.01719, allocations: 168 kB / 338.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.0172, allocations: 4 kB / 338.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.01722, allocations: 12 kB / 338.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.01722, allocations: 4 kB / 338.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.01723, allocations: 7.938 kB / 338.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.01835, allocations: 0.96 MB / 339.6 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.01843, allocations: 55.83 kB / 339.6 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.01846, allocations: 8 kB / 339.6 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.01866, allocations: 43.95 kB / 339.7 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.01873, allocations: 55.8 kB / 339.7 MB, free: 0 / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.01876, allocations: 8.047 kB / 339.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.809e-05/0.01884, allocations: 148.6 kB / 339.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01884, allocations: 4 kB / 339.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.01912, allocations: 80 kB / 340 MB, free: 15.77 MB / 314.7 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.001244/0.02036, allocations: 1.5 MB / 341.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.02089, allocations: 351.8 kB / 341.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.02089, allocations: 4 kB / 341.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.02125, allocations: 240.1 kB / 342.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.02167, allocations: 67.78 kB / 342.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.02652, allocations: 3.742 MB / 345.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.02664, allocations: 160.3 kB / 346 MB, free: 9.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.02676, allocations: 34.97 kB / 346.1 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.02691, allocations: 104.5 kB / 346.2 MB, free: 9.363 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02691, allocations: 4 kB / 346.2 MB, free: 9.359 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.04702, allocations: 8.258 MB / 354.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.994, allocations: 11.98 kB / 354.4 MB, free: 1.254 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/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] "" Variables in the reference:time,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel Variables in the result:time,elastoBacklash.phi_rel,elastoBacklash.w_rel,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,springDamper.phi_rel [Calling sys.exit(0), Time elapsed: 8.734170285053551]