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.0008161/0.0008161, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009113/0.0009113, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8743/0.8743, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.503e-06/1.503e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.935e-05, allocations: 4.812 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002607/0.002626, allocations: 2.297 MB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.0035, allocations: 0.7482 MB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.624e-05/0.003596, allocations: 7.938 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.003712, allocations: 39.59 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.003861, allocations: 123 kB / 327.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.004121, allocations: 127.7 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.004412, allocations: 485.9 kB / 328.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.004548, allocations: 61.08 kB / 328.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.004759, allocations: 271.4 kB / 328.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.0049, allocations: 167.6 kB / 328.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.004944, allocations: 36 kB / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.004981, allocations: 40 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.005031, allocations: 87.7 kB / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.005114, allocations: 131.7 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.005415, allocations: 446.7 kB / 329.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005417, allocations: 0 / 329.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005419, allocations: 0 / 329.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.005423, allocations: 0 / 329.6 MB, free: 10.9 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.0008905/0.006314, allocations: 0.6098 MB / 330.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.006351, allocations: 8.031 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.006402, allocations: 62.72 kB / 330.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.006453, allocations: 36.75 kB / 330.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.006715, allocations: 217.7 kB / 330.5 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.006813, allocations: 135.9 kB / 330.6 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.006852, allocations: 28.38 kB / 330.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.00737, allocations: 394.2 kB / 331 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.007384, allocations: 0 / 331 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.007407, allocations: 12 kB / 331.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.007414, allocations: 4 kB / 331.1 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.008058, allocations: 387.6 kB / 331.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.009078, allocations: 0.8485 MB / 332.3 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.009947, allocations: 387.6 kB / 332.7 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.01027, allocations: 210.4 kB / 332.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.01029, allocations: 4 kB / 332.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.01031, allocations: 42.55 kB / 332.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.532e-06/0.01032, allocations: 0 / 332.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002595/0.01291, allocations: 1.879 MB / 334.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.01296, allocations: 115.1 kB / 334.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.0131, allocations: 207.2 kB / 335.1 MB, free: 4.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.01313, allocations: 29.7 kB / 335.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.0132, allocations: 148.8 kB / 335.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.01327, allocations: 154.6 kB / 335.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.01336, allocations: 74.17 kB / 335.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.01344, allocations: 334.8 kB / 335.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.01363, allocations: 112.9 kB / 336 MB, free: 4.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.01382, allocations: 166.1 kB / 336.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.01417, allocations: 295.5 kB / 336.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01417, allocations: 0 / 336.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004563/0.01463, allocations: 368 kB / 336.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.01464, allocations: 4 kB / 336.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01465, allocations: 12.03 kB / 336.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01467, allocations: 3.938 kB / 336.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.01501, allocations: 147.8 kB / 336.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.01502, allocations: 11.97 kB / 336.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01512, allocations: 19.98 kB / 337 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.01514, allocations: 16 kB / 337 MB, free: 3.059 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.000102/0.01524, allocations: 141.8 kB / 337.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.01529, allocations: 27.86 kB / 337.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.01533, allocations: 45.33 kB / 337.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01533, allocations: 4 kB / 337.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.01534, allocations: 0 / 337.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01535, allocations: 3.984 kB / 337.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.01668, allocations: 1.237 MB / 338.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01668, allocations: 192 / 338.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.01707, allocations: 167.8 kB / 338.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01708, allocations: 4 kB / 338.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.0171, allocations: 19.98 kB / 338.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.0171, allocations: 4 kB / 338.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.01711, allocations: 7.938 kB / 338.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.01845, allocations: 0.9527 MB / 339.6 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.01853, allocations: 59.83 kB / 339.6 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01856, allocations: 8 kB / 339.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.01876, allocations: 47.94 kB / 339.7 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.01884, allocations: 47.81 kB / 339.7 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.01885, allocations: 8 kB / 339.7 MB, free: 148 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.01895, allocations: 152.8 kB / 339.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01895, allocations: 7.938 kB / 339.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.01923, allocations: 79.94 kB / 340 MB, free: 15.91 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.001344/0.02057, allocations: 1.493 MB / 341.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.02118, allocations: 355.7 kB / 341.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02118, allocations: 0 / 341.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.02154, allocations: 244 kB / 342.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.02203, allocations: 68.69 kB / 342.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.02651, allocations: 3.737 MB / 345.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.02663, allocations: 160.3 kB / 346 MB, free: 9.648 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.02675, allocations: 34.97 kB / 346.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.02688, allocations: 104.5 kB / 346.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of SimCode: time 1.803e-06/0.02689, allocations: 0 / 346.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.04708, allocations: 8.28 MB / 354.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.456/6.503, allocations: 7.984 kB / 354.4 MB, free: 1.395 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.105474854819477]