Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009147/0.0009147, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00559/0.00559, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9015/0.9015, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.279e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002532/0.002555, allocations: 2.277 MB / 300.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003714, allocations: 0.7492 MB / 301.5 MB, free: 492 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.003846, allocations: 7.938 kB / 301.5 MB, free: 484 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.003976, allocations: 43.53 kB / 301.5 MB, free: 440 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.004413, allocations: 119 kB / 301.6 MB, free: 320 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.004738, allocations: 135.6 kB / 301.8 MB, free: 184 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1311/0.1359, allocations: 469 kB / 302.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.136, allocations: 61.67 kB / 302.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.1363, allocations: 266.4 kB / 302.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1365, allocations: 163.3 kB / 302.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.1365, allocations: 36.91 kB / 302.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.1366, allocations: 38.56 kB / 302.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.1366, allocations: 88.7 kB / 302.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.278e-05/0.1367, allocations: 133.8 kB / 303 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.1371, allocations: 445.1 kB / 303.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1371, allocations: 1.219 kB / 303.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1371, allocations: 0 / 303.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1371, allocations: 0.7031 kB / 303.4 MB, free: 13.2 MB / 282.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.0009864/0.1381, allocations: 0.6073 MB / 304 MB, free: 12.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1382, allocations: 14.62 kB / 304 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.1382, allocations: 66.81 kB / 304.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.1383, allocations: 34.5 kB / 304.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.1386, allocations: 217.3 kB / 304.3 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.1387, allocations: 136.8 kB / 304.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.1388, allocations: 33.17 kB / 304.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.1394, allocations: 383.1 kB / 304.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1394, allocations: 3.078 kB / 304.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.1395, allocations: 13.72 kB / 304.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1395, allocations: 7.094 kB / 304.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.1402, allocations: 389 kB / 305.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009576/0.1411, allocations: 0.8528 MB / 306.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.1419, allocations: 394.9 kB / 306.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.1422, allocations: 212.4 kB / 306.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1423, allocations: 4.109 kB / 306.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1423, allocations: 38.72 kB / 306.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 2.906e-06/0.1423, allocations: 0 / 306.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002872/0.1452, allocations: 1.885 MB / 308.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1452, allocations: 113 kB / 308.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1454, allocations: 205.4 kB / 309 MB, free: 10.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1454, allocations: 34.92 kB / 309 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.1455, allocations: 144.4 kB / 309.2 MB, free: 9.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.1455, allocations: 150.7 kB / 309.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.1456, allocations: 71.28 kB / 309.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.1457, allocations: 336.5 kB / 309.7 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1459, allocations: 112 kB / 309.8 MB, free: 9.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.1461, allocations: 168.4 kB / 310 MB, free: 9.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.1465, allocations: 290.9 kB / 310.3 MB, free: 9.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1465, allocations: 1 kB / 310.3 MB, free: 9.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005137/0.147, allocations: 370.1 kB / 310.6 MB, free: 9.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.147, allocations: 5.625 kB / 310.6 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1471, allocations: 1.406 kB / 310.6 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1471, allocations: 7.219 kB / 310.6 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.1475, allocations: 151.1 kB / 310.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1475, allocations: 3.219 kB / 310.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1476, allocations: 30.8 kB / 310.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1477, allocations: 14.06 kB / 310.8 MB, free: 9.086 MB / 282.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.0001182/0.1478, allocations: 145.6 kB / 311 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.1478, allocations: 26.34 kB / 311 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.1479, allocations: 34.12 kB / 311 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1479, allocations: 5.219 kB / 311 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.1479, allocations: 3.938 kB / 311 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.1479, allocations: 7.188 kB / 311 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.1493, allocations: 1.228 MB / 312.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1493, allocations: 3.453 kB / 312.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.1498, allocations: 169.6 kB / 312.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1498, allocations: 3.469 kB / 312.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.1498, allocations: 15.58 kB / 312.5 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1498, allocations: 4.531 kB / 312.5 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1498, allocations: 2.219 kB / 312.5 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.151, allocations: 0.9611 MB / 313.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1511, allocations: 52.67 kB / 313.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1511, allocations: 9.656 kB / 313.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.1513, allocations: 47.41 kB / 313.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.1514, allocations: 51.38 kB / 313.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.87e-05/0.1514, allocations: 12.2 kB / 313.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.173e-05/0.1515, allocations: 148.8 kB / 313.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1515, allocations: 0 / 313.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.1519, allocations: 83.5 kB / 313.8 MB, free: 7.43 MB / 282.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.001358/0.1532, allocations: 1.495 MB / 315.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006839/0.1539, allocations: 357 kB / 315.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1539, allocations: 1.719 kB / 315.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.1543, allocations: 236.6 kB / 315.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.1548, allocations: 78.06 kB / 316 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.1596, allocations: 3.735 MB / 319.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.1597, allocations: 160.8 kB / 319.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.1599, allocations: 40.78 kB / 319.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.1601, allocations: 105.1 kB / 320 MB, free: 3.805 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1601, allocations: 0 / 320 MB, free: 3.805 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.1818, allocations: 8.254 MB / 328.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.962, allocations: 13.31 kB / 328.3 MB, free: 15.59 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_3.2.3_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.700160711072385]