Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001673/0.001673, allocations: 110.9 kB / 17.73 MB, free: 5.316 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.001652/0.001652, allocations: 189.3 kB / 20.68 MB, free: 2.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 51.92 kB / 357.5 MB, free: 8.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09479, allocations: 49.43 MB / 406.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003905/0.09874, allocations: 2.448 MB / 409.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1003, allocations: 0.7327 MB / 410.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.1006, allocations: 4 kB / 410.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1008, allocations: 43.52 kB / 410.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.1012, allocations: 107.1 kB / 410.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1016, allocations: 127.7 kB / 410.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005908/0.1022, allocations: 454.3 kB / 410.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.1025, allocations: 92.89 kB / 410.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.1028, allocations: 183.4 kB / 411.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.1031, allocations: 207.3 kB / 411.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.477e-05/0.1032, allocations: 36 kB / 411.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.1033, allocations: 40 kB / 411.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1035, allocations: 91.72 kB / 411.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1037, allocations: 183.2 kB / 411.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.1043, allocations: 410.7 kB / 412 MB, free: 2.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1043, allocations: 0 / 412 MB, free: 2.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1043, allocations: 0 / 412 MB, free: 2.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1043, allocations: 0 / 412 MB, free: 2.191 MB / 334.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.001835/0.1062, allocations: 0.6898 MB / 412.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1062, allocations: 8.031 kB / 412.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.1064, allocations: 66.66 kB / 412.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1065, allocations: 36.75 kB / 412.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.107, allocations: 275.7 kB / 413.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.1071, allocations: 88.08 kB / 413.2 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.774e-05/0.1072, allocations: 24 kB / 413.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.1083, allocations: 379.2 kB / 413.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.1083, allocations: 7.953 kB / 413.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.1084, allocations: 11.94 kB / 413.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1084, allocations: 12 kB / 413.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.1097, allocations: 391.6 kB / 414 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1114, allocations: 0.9624 MB / 415 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1125, allocations: 403.6 kB / 415.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.1132, allocations: 218.4 kB / 415.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1133, allocations: 11.98 kB / 415.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.1133, allocations: 34.56 kB / 415.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/0.1133, allocations: 0 / 415.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005466/0.1188, allocations: 2.325 MB / 417.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.1189, allocations: 114.8 kB / 418 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.1192, allocations: 203.2 kB / 418.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.1193, allocations: 30.08 kB / 418.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1195, allocations: 152.8 kB / 418.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.1196, allocations: 150.7 kB / 418.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.1198, allocations: 70.12 kB / 418.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.12, allocations: 342.7 kB / 419 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.1203, allocations: 108.8 kB / 419.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.1207, allocations: 165.5 kB / 419.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.1214, allocations: 302.1 kB / 419.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1215, allocations: 0 / 419.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009839/0.1224, allocations: 375.3 kB / 419.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1225, allocations: 4 kB / 419.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1225, allocations: 8 kB / 419.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1225, allocations: 0 / 419.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.1233, allocations: 147.9 kB / 420.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.1233, allocations: 4 kB / 420.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.1236, allocations: 31.98 kB / 420.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.1236, allocations: 8 kB / 420.1 MB, free: 9.539 MB / 350.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.0001997/0.1238, allocations: 149.7 kB / 420.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.124, allocations: 31.8 kB / 420.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.506e-05/0.1241, allocations: 33.53 kB / 420.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.1241, allocations: 4 kB / 420.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1241, allocations: 0 / 420.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1241, allocations: 3.984 kB / 420.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.1268, allocations: 1.33 MB / 421.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.1269, allocations: 4 kB / 421.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/0.1278, allocations: 172 kB / 421.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.1278, allocations: 4 kB / 421.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.1279, allocations: 15.94 kB / 421.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.1279, allocations: 4 kB / 421.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1279, allocations: 3.938 kB / 421.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.1302, allocations: 0.9522 MB / 422.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.1305, allocations: 129 kB / 422.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.1306, allocations: 11.94 kB / 422.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.131, allocations: 47.95 kB / 423 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.1311, allocations: 47.88 kB / 423 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.1312, allocations: 8 kB / 423 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.1314, allocations: 156.6 kB / 423.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1314, allocations: 0 / 423.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000498/0.1319, allocations: 84.09 kB / 423.3 MB, free: 6.203 MB / 350.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.00266/0.1345, allocations: 1.506 MB / 424.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.1357, allocations: 363.8 kB / 425.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1358, allocations: 4 kB / 425.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007461/0.1365, allocations: 243.7 kB / 425.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008525/0.1374, allocations: 77.89 kB / 425.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1973/0.3347, allocations: 3.873 MB / 429.3 MB, free: 22.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.335, allocations: 0.7674 MB / 430.1 MB, free: 21.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.3352, allocations: 40.09 kB / 430.1 MB, free: 21.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3354, allocations: 96.61 kB / 430.2 MB, free: 21.97 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3354, allocations: 0 / 430.2 MB, free: 21.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.3694, allocations: 7.122 MB / 437.4 MB, free: 21.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/9.011, allocations: 6.516 kB / 437.4 MB, free: 21.39 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.560344172175974]