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.00181/0.00181, allocations: 116.9 kB / 18.45 MB, free: 4.609 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.002211/0.002211, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.464/1.464, allocations: 207.6 MB / 231.8 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 53.03 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1138, allocations: 49.13 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003894/0.1177, allocations: 2.451 MB / 393.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1191, allocations: 0.784 MB / 394.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1192, allocations: 4 kB / 394.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1194, allocations: 47.52 kB / 394.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1196, allocations: 111.1 kB / 394.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.12, allocations: 119.8 kB / 394.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.1205, allocations: 466.3 kB / 395.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1207, allocations: 69.14 kB / 395.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.121, allocations: 195.4 kB / 395.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.1212, allocations: 203.3 kB / 395.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.1213, allocations: 40 kB / 395.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.1214, allocations: 36 kB / 395.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.1214, allocations: 87.73 kB / 396 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1216, allocations: 179.2 kB / 396.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.1221, allocations: 414.5 kB / 396.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1221, allocations: 0 / 396.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1221, allocations: 0 / 396.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1221, allocations: 3.938 kB / 396.6 MB, free: 3.512 MB / 318.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.001687/0.1238, allocations: 0.6975 MB / 397.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1239, allocations: 8.031 kB / 397.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.862e-05/0.1239, allocations: 62.73 kB / 397.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.124, allocations: 36.75 kB / 397.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.1245, allocations: 275.6 kB / 397.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1246, allocations: 84.08 kB / 397.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.1247, allocations: 27.95 kB / 397.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.1256, allocations: 387.2 kB / 398.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1257, allocations: 4 kB / 398.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.1257, allocations: 8 kB / 398.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.1257, allocations: 11.94 kB / 398.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.1269, allocations: 399.5 kB / 398.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1283, allocations: 0.9433 MB / 399.5 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1294, allocations: 395.5 kB / 399.9 MB, free: 0 / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/0.1301, allocations: 206.5 kB / 400.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1301, allocations: 8 kB / 400.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1301, allocations: 38.56 kB / 400.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.302e-06/0.1301, allocations: 0 / 400.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.005238/0.1354, allocations: 2.325 MB / 402.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.1354, allocations: 114.8 kB / 402.6 MB, free: 13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1357, allocations: 203.1 kB / 402.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.1357, allocations: 33.7 kB / 402.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1358, allocations: 140.9 kB / 402.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1359, allocations: 154.7 kB / 403.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.1361, allocations: 74.06 kB / 403.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1362, allocations: 342.8 kB / 403.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.1366, allocations: 108.8 kB / 403.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.1369, allocations: 165.5 kB / 403.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.1376, allocations: 292.8 kB / 404 MB, free: 11.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1376, allocations: 4 kB / 404 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008601/0.1385, allocations: 365.1 kB / 404.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1385, allocations: 11.98 kB / 404.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1385, allocations: 0 / 404.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1385, allocations: 4 kB / 404.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.1393, allocations: 147.9 kB / 404.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.1393, allocations: 4 kB / 404.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1395, allocations: 27.98 kB / 404.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.1395, allocations: 12 kB / 404.6 MB, free: 10.88 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.0001604/0.1397, allocations: 145.7 kB / 404.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1398, allocations: 35.78 kB / 404.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.1399, allocations: 25.53 kB / 404.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1399, allocations: 12 kB / 404.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1399, allocations: 0 / 404.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1399, allocations: 3.984 kB / 404.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.1424, allocations: 1.348 MB / 406.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1424, allocations: 4 kB / 406.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000858/0.1432, allocations: 164 kB / 406.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.1433, allocations: 7.984 kB / 406.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.1433, allocations: 15.94 kB / 406.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1433, allocations: 11.88 kB / 406.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1433, allocations: 4 kB / 406.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.1454, allocations: 0.952 MB / 407.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.1456, allocations: 132.9 kB / 407.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.1456, allocations: 11.94 kB / 407.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.146, allocations: 47.95 kB / 407.5 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.1462, allocations: 39.95 kB / 407.6 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.1462, allocations: 11.98 kB / 407.6 MB, free: 7.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1463, allocations: 148.6 kB / 407.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1463, allocations: 0 / 407.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.1468, allocations: 84 kB / 407.8 MB, free: 7.535 MB / 334.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.002449/0.1492, allocations: 1.505 MB / 409.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.1502, allocations: 360.3 kB / 409.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1502, allocations: 192 / 409.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007007/0.1509, allocations: 243.6 kB / 409.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.1517, allocations: 77.45 kB / 410 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00848/0.1602, allocations: 3.857 MB / 413.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.1606, allocations: 0.7759 MB / 414.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.1608, allocations: 34.97 kB / 414.6 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.161, allocations: 99.39 kB / 414.7 MB, free: 376 kB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.161, allocations: 0 / 414.7 MB, free: 376 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03421/0.1952, allocations: 7.187 MB / 421.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.497, allocations: 12 kB / 421.9 MB, free: 9.113 MB / 350.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.990807576003135]