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.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.00147/0.00147, allocations: 119.8 kB / 18.45 MB, free: 4.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.001523/0.001523, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.405/1.405, allocations: 207.6 MB / 231.8 MB, free: 4.223 MB / 174.1 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 55.91 kB / 342.2 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09771/0.09937, allocations: 49.13 MB / 391.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004975/0.1043, allocations: 2.451 MB / 393.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1063, allocations: 0.7841 MB / 394.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.1065, allocations: 4 kB / 394.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.1067, allocations: 43.58 kB / 394.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.107, allocations: 107 kB / 394.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.1075, allocations: 135.8 kB / 394.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006032/0.1081, allocations: 470.2 kB / 395.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1084, allocations: 65.16 kB / 395.4 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.1087, allocations: 191.4 kB / 395.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.109, allocations: 207.3 kB / 395.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.1091, allocations: 36 kB / 395.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.927e-05/0.1091, allocations: 36 kB / 395.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.1092, allocations: 87.73 kB / 396 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.1094, allocations: 179.2 kB / 396.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000659/0.1101, allocations: 410.5 kB / 396.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1101, allocations: 4 kB / 396.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1101, allocations: 0 / 396.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.1101, allocations: 3.938 kB / 396.5 MB, free: 3.562 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.002175/0.1123, allocations: 0.682 MB / 397.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1123, allocations: 8.031 kB / 397.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.1124, allocations: 70.72 kB / 397.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1125, allocations: 36.75 kB / 397.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.1131, allocations: 275.5 kB / 397.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.1133, allocations: 88.08 kB / 397.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.1133, allocations: 31.89 kB / 397.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1146, allocations: 379.2 kB / 398.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.1146, allocations: 11.92 kB / 398.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1146, allocations: 8 kB / 398.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1147, allocations: 8 kB / 398.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.1162, allocations: 395.5 kB / 398.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.1181, allocations: 0.951 MB / 399.5 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.1197, allocations: 383.6 kB / 399.8 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/0.1205, allocations: 214.4 kB / 400 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1205, allocations: 15.92 kB / 400.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1205, allocations: 31 kB / 400.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.1205, allocations: 0 / 400.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.00689/0.1274, allocations: 2.32 MB / 402.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.1275, allocations: 110.8 kB / 402.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.1278, allocations: 211 kB / 402.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.1279, allocations: 33.7 kB / 402.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.128, allocations: 144.9 kB / 402.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.1282, allocations: 150.7 kB / 403 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.1284, allocations: 70.11 kB / 403.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1286, allocations: 342.8 kB / 403.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.129, allocations: 104.8 kB / 403.5 MB, free: 12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.1295, allocations: 169.4 kB / 403.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.1305, allocations: 292.9 kB / 404 MB, free: 11.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1305, allocations: 4 kB / 404 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001214/0.1317, allocations: 373.4 kB / 404.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.1317, allocations: 4 kB / 404.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1317, allocations: 4 kB / 404.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.1318, allocations: 4 kB / 404.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.1328, allocations: 151.8 kB / 404.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.1328, allocations: 4 kB / 404.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.1332, allocations: 32.91 kB / 404.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.1332, allocations: 12 kB / 404.6 MB, free: 10.93 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.0002389/0.1335, allocations: 141.8 kB / 404.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.1336, allocations: 27.8 kB / 404.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.1337, allocations: 37.52 kB / 404.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1338, allocations: 4 kB / 404.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1338, allocations: 0 / 404.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1338, allocations: 4 kB / 404.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.1374, allocations: 1.339 MB / 406.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.1374, allocations: 11.97 kB / 406.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.1386, allocations: 163.8 kB / 406.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.1386, allocations: 8 kB / 406.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.1387, allocations: 23.92 kB / 406.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.019e-05/0.1387, allocations: 4 kB / 406.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1387, allocations: 0 / 406.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.1416, allocations: 0.9483 MB / 407.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.1418, allocations: 128.9 kB / 407.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/0.1419, allocations: 11.94 kB / 407.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.1424, allocations: 51.94 kB / 407.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.1425, allocations: 35.89 kB / 407.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.1425, allocations: 19.98 kB / 407.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1427, allocations: 152.6 kB / 407.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1427, allocations: 0 / 407.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.1432, allocations: 80 kB / 407.7 MB, free: 7.594 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.002384/0.1456, allocations: 1.501 MB / 409.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.1466, allocations: 364 kB / 409.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.1466, allocations: 0 / 409.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.1473, allocations: 244 kB / 409.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.1481, allocations: 77.3 kB / 409.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008573/0.1566, allocations: 3.861 MB / 413.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.1571, allocations: 0.7643 MB / 414.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000203/0.1573, allocations: 46.95 kB / 414.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.1575, allocations: 95.39 kB / 414.7 MB, free: 436 kB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1575, allocations: 0 / 414.7 MB, free: 436 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.1931, allocations: 7.18 MB / 421.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.701, allocations: 15.92 kB / 421.9 MB, free: 9.172 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.277692845091224]