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.001835/0.001835, allocations: 73.95 kB / 21.24 MB, free: 0.5547 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.002054/0.002054, allocations: 152.2 kB / 24.49 MB, free: 3.723 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.446/1.446, allocations: 173.4 MB / 201.1 MB, free: 12.68 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: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 48.06 kB / 319.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.0893, allocations: 52.17 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003822/0.09312, allocations: 2.29 MB / 373.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.09452, allocations: 0.7056 MB / 374.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.09468, allocations: 7.938 kB / 374.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.09483, allocations: 35.59 kB / 374.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.09507, allocations: 107.1 kB / 374.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.09545, allocations: 135.8 kB / 374.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.09592, allocations: 470.1 kB / 375.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.09607, allocations: 57.11 kB / 375.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.0963, allocations: 191.5 kB / 375.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.09655, allocations: 179.3 kB / 375.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.09661, allocations: 40 kB / 375.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.808e-05/0.09668, allocations: 36 kB / 375.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.512e-05/0.09677, allocations: 99.66 kB / 375.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.09693, allocations: 147.4 kB / 376 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.09739, allocations: 418.5 kB / 376.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.09739, allocations: 0 / 376.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09739, allocations: 4 kB / 376.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.0974, allocations: 0 / 376.4 MB, free: 2.441 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.001524/0.09892, allocations: 0.6182 MB / 377.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.09895, allocations: 8.922 kB / 377.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.09903, allocations: 32.75 kB / 377.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.0994, allocations: 217.9 kB / 377.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.09955, allocations: 139.6 kB / 377.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.09961, allocations: 24 kB / 377.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/0.1005, allocations: 378.4 kB / 377.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.1006, allocations: 7.953 kB / 377.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.1006, allocations: 15.98 kB / 377.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1006, allocations: 8 kB / 377.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1019, allocations: 395.5 kB / 378.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1031, allocations: 0.8024 MB / 379.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1042, allocations: 391.5 kB / 379.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.1049, allocations: 210.4 kB / 379.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1049, allocations: 8 kB / 379.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1049, allocations: 38.56 kB / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.1049, allocations: 0 / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004915/0.1098, allocations: 1.869 MB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.1099, allocations: 118.8 kB / 381.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1101, allocations: 191.8 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.1101, allocations: 29.7 kB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1103, allocations: 152.8 kB / 382 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1104, allocations: 142.7 kB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1105, allocations: 78.17 kB / 382.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1107, allocations: 330.8 kB / 382.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.111, allocations: 112.9 kB / 382.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.1114, allocations: 174 kB / 382.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.1121, allocations: 291.7 kB / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1121, allocations: 0 / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008561/0.1129, allocations: 365.2 kB / 383.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1129, allocations: 12.88 kB / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1129, allocations: 0 / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.113, allocations: 4 kB / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.1137, allocations: 147.9 kB / 383.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1137, allocations: 4 kB / 383.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.1139, allocations: 23.98 kB / 383.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.114, allocations: 15.94 kB / 383.7 MB, free: 10.74 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.0001644/0.1141, allocations: 157.7 kB / 383.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.1142, allocations: 27.8 kB / 383.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.1143, allocations: 25.47 kB / 383.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1143, allocations: 11.92 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1143, allocations: 4 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1143, allocations: 0 / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.1167, allocations: 1.194 MB / 385.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.1167, allocations: 7.984 kB / 385.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008807/0.1176, allocations: 168 kB / 385.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1176, allocations: 4 kB / 385.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.1176, allocations: 15.98 kB / 385.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.1176, allocations: 11.92 kB / 385.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1176, allocations: 3.938 kB / 385.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.1197, allocations: 0.9557 MB / 386.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1198, allocations: 51.88 kB / 386.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.1199, allocations: 8 kB / 386.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.1203, allocations: 47.94 kB / 386.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1204, allocations: 39.88 kB / 386.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.1204, allocations: 20.12 kB / 386.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1206, allocations: 140.5 kB / 386.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1206, allocations: 0 / 386.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004669/0.121, allocations: 80 kB / 386.7 MB, free: 7.648 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.0001329/0.1212, allocations: 111.1 kB / 386.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1222, allocations: 359.3 kB / 387.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1222, allocations: 0 / 387.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.1229, allocations: 243.8 kB / 387.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.1236, allocations: 76.3 kB / 387.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.1288, allocations: 1.429 MB / 388.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.129, allocations: 160 kB / 389 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.1292, allocations: 34.97 kB / 389.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.1293, allocations: 36.48 kB / 389.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1293, allocations: 0 / 389.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of Templates: time 0.009168/0.1385, allocations: 4.458 MB / 393.6 MB, free: 0.7383 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] 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: 4.381814011954702]