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.001313/0.001313, allocations: 73.56 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.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.001507/0.001507, allocations: 159.9 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.407/1.407, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] 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: 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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 59.86 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09956, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00513/0.1047, allocations: 2.291 MB / 381.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1067, allocations: 0.7367 MB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.1068, allocations: 7.938 kB / 381.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.107, allocations: 39.59 kB / 382 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.1074, allocations: 119 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.1079, allocations: 127.8 kB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007253/0.1086, allocations: 466.2 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1088, allocations: 49.14 kB / 382.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.1092, allocations: 191.4 kB / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.1095, allocations: 191.2 kB / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.055e-05/0.1096, allocations: 40 kB / 383.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1097, allocations: 36 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1099, allocations: 87.73 kB / 383.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.1101, allocations: 147.4 kB / 383.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.1108, allocations: 422.4 kB / 383.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1108, allocations: 8 kB / 383.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1108, allocations: 0 / 383.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1108, allocations: 3.938 kB / 383.8 MB, free: 10.7 MB / 350.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.002131/0.1129, allocations: 0.6066 MB / 384.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.113, allocations: 8.031 kB / 384.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.1131, allocations: 36.75 kB / 384.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.1137, allocations: 214 kB / 384.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.1139, allocations: 143.6 kB / 384.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.114, allocations: 28 kB / 384.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.1154, allocations: 378.3 kB / 385.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.1154, allocations: 11.98 kB / 385.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.1155, allocations: 8 kB / 385.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.1155, allocations: 8 kB / 385.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.1174, allocations: 398.7 kB / 385.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1192, allocations: 0.8023 MB / 386.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.1208, allocations: 391.5 kB / 386.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009975/0.1218, allocations: 214.4 kB / 387 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.1219, allocations: 4 kB / 387 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.1219, allocations: 42.94 kB / 387.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/0.1219, allocations: 0 / 387.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.007214/0.1291, allocations: 1.866 MB / 388.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.1292, allocations: 118.8 kB / 389.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.1296, allocations: 198.8 kB / 389.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.1296, allocations: 33.64 kB / 389.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1298, allocations: 152.8 kB / 389.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1299, allocations: 150.7 kB / 389.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.1302, allocations: 74.17 kB / 389.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.1304, allocations: 334.8 kB / 390 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.1309, allocations: 108.9 kB / 390.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.1315, allocations: 174.1 kB / 390.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.1326, allocations: 284.1 kB / 390.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1326, allocations: 0 / 390.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001301/0.1339, allocations: 364.6 kB / 390.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.134, allocations: 14.91 kB / 390.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.134, allocations: 0 / 390.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.134, allocations: 4 kB / 390.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.135, allocations: 151.8 kB / 391.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.1351, allocations: 4 kB / 391.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.1354, allocations: 23.98 kB / 391.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.1354, allocations: 12 kB / 391.1 MB, free: 3.004 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.0002307/0.1357, allocations: 153.7 kB / 391.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.1358, allocations: 31.75 kB / 391.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.1359, allocations: 30.41 kB / 391.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1359, allocations: 7.984 kB / 391.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.1359, allocations: 4 kB / 391.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1359, allocations: 0 / 391.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.1396, allocations: 1.191 MB / 392.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1396, allocations: 4 kB / 392.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.1409, allocations: 171.9 kB / 392.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1409, allocations: 4 kB / 392.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/0.141, allocations: 19.98 kB / 392.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.141, allocations: 4 kB / 392.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.141, allocations: 7.938 kB / 392.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/0.144, allocations: 0.9533 MB / 393.7 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.1442, allocations: 47.88 kB / 393.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.1442, allocations: 8 kB / 393.7 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/0.1449, allocations: 47.94 kB / 393.8 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.1451, allocations: 43.81 kB / 393.8 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.1451, allocations: 20 kB / 393.8 MB, free: 140 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1453, allocations: 135.3 kB / 394 MB, free: 4 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1453, allocations: 0 / 394 MB, free: 4 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008103/0.1461, allocations: 84.05 kB / 394 MB, free: 15.92 MB / 366.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.0001579/0.1462, allocations: 103.2 kB / 394.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.1477, allocations: 359.5 kB / 394.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1477, allocations: 4.188 kB / 394.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.1488, allocations: 239.6 kB / 394.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.1499, allocations: 79.69 kB / 394.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.1558, allocations: 1.425 MB / 396.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.156, allocations: 163.9 kB / 396.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.1562, allocations: 34.97 kB / 396.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1563, allocations: 36.48 kB / 396.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1563, allocations: 0 / 396.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of Templates: time 0.008954/0.1652, allocations: 4.463 MB / 400.9 MB, free: 9.008 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/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: 4.3444577909540385]