Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001315/0.001315, allocations: 73.88 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.00145/0.00145, allocations: 160.1 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.442/1.442, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 49.97 kB / 325.5 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003058/0.1126, allocations: 1.596 MB / 380.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005316/0.118, allocations: 2.988 MB / 383.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1181, allocations: 3.938 kB / 383.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1185, allocations: 55.7 kB / 383.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.1185, allocations: 15.86 kB / 383.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.1223, allocations: 1.48 MB / 385 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.1225, allocations: 147.7 kB / 385.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1227, allocations: 17.3 kB / 385.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.51e-05/0.1228, allocations: 63.7 kB / 385.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1229, allocations: 47.78 kB / 385.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1229, allocations: 8 kB / 385.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.1249, allocations: 1.425 MB / 386.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.125, allocations: 43.83 kB / 386.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.125, allocations: 43.8 kB / 386.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.1263, allocations: 1.216 MB / 388 MB, free: 6.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1263, allocations: 3.984 kB / 388 MB, free: 6.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1263, allocations: 0 / 388 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1263, allocations: 0 / 388 MB, free: 6.496 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009447/0.1273, allocations: 0.4935 MB / 388.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1273, allocations: 8.031 kB / 388.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.1274, allocations: 16.84 kB / 388.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1277, allocations: 158.2 kB / 388.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1277, allocations: 8.375 kB / 388.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.1277, allocations: 12.38 kB / 388.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.128, allocations: 202.1 kB / 388.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.128, allocations: 0 / 388.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.128, allocations: 8 kB / 388.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.128, allocations: 0 / 388.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1282, allocations: 55.95 kB / 389 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.1288, allocations: 312.2 kB / 389.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.1292, allocations: 130.5 kB / 389.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.1293, allocations: 44.83 kB / 389.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1293, allocations: 0 / 389.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1293, allocations: 30.56 kB / 389.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1293, allocations: 0 / 389.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002293/0.1316, allocations: 1.007 MB / 390.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.1317, allocations: 132.5 kB / 390.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1319, allocations: 174.2 kB / 390.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1319, allocations: 29.7 kB / 390.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.132, allocations: 108.6 kB / 390.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.1321, allocations: 59.52 kB / 391 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.1321, allocations: 45.7 kB / 391 MB, free: 3.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1323, allocations: 326.8 kB / 391.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.1325, allocations: 99.94 kB / 391.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1327, allocations: 217 kB / 391.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.1331, allocations: 196.9 kB / 391.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1331, allocations: 0 / 391.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005483/0.1336, allocations: 302.3 kB / 392.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1336, allocations: 11.94 kB / 392.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.1336, allocations: 7.984 kB / 392.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.1338, allocations: 44.77 kB / 392.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.134, allocations: 27.98 kB / 392.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.1353, allocations: 1.397 MB / 393.6 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.54e-05/0.1354, allocations: 9.203 kB / 393.6 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1355, allocations: 12.16 kB / 393.7 MB, free: 448 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.1356, allocations: 141 kB / 393.8 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1356, allocations: 11.91 kB / 393.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.1357, allocations: 21.47 kB / 393.8 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1357, allocations: 0 / 393.8 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1357, allocations: 7.938 kB / 393.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1357, allocations: 3.984 kB / 393.8 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.1359, allocations: 169.2 kB / 394 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1359, allocations: 0 / 394 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.1362, allocations: 60 kB / 394.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1362, allocations: 0 / 394.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1362, allocations: 4 kB / 394.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1362, allocations: 3.938 kB / 394.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1362, allocations: 0 / 394.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.1368, allocations: 415.1 kB / 394.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.1369, allocations: 15.91 kB / 394.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1369, allocations: 0 / 394.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.137, allocations: 12.03 kB / 394.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.137, allocations: 12.12 kB / 394.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1371, allocations: 7.984 kB / 394.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1372, allocations: 120.2 kB / 394.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1372, allocations: 0 / 394.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001524/0.1387, allocations: 0.5194 MB / 395.2 MB, free: 14.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.0009451/0.1396, allocations: 0.5342 MB / 395.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006723/0.1403, allocations: 369.9 kB / 396.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1403, allocations: 8 kB / 396.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1405, allocations: 83.83 kB / 396.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1408, allocations: 34 kB / 396.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.1415, allocations: 412.7 kB / 396.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.1416, allocations: 122.7 kB / 396.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.944e-05/0.1417, allocations: 33.12 kB / 396.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.1418, allocations: 16.5 kB / 396.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1418, allocations: 0 / 396.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01506/0.1568, allocations: 8.013 MB / 404.8 MB, free: 5.211 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.512861147988588]