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.001501/0.001501, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.002004/0.002004, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.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.001521/0.001521, allocations: 43.94 kB / 374.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003082/0.1205, allocations: 1.622 MB / 429.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.126, allocations: 3.237 MB / 432.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1261, allocations: 7.938 kB / 432.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.1265, allocations: 51.7 kB / 432.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.1265, allocations: 15.86 kB / 432.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.1299, allocations: 1.425 MB / 433.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1302, allocations: 151.6 kB / 434 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1303, allocations: 13.12 kB / 434 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.1304, allocations: 55.83 kB / 434 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1305, allocations: 51.7 kB / 434.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1305, allocations: 8 kB / 434.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.1322, allocations: 1.397 MB / 435.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.1323, allocations: 35.91 kB / 435.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.1323, allocations: 51.67 kB / 435.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1336, allocations: 1.208 MB / 436.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1336, allocations: 3.938 kB / 436.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1336, allocations: 0 / 436.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1336, allocations: 0 / 436.8 MB, free: 10.93 MB / 366.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.001043/0.1346, allocations: 0.5649 MB / 437.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1347, allocations: 12.03 kB / 437.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.1347, allocations: 16.84 kB / 437.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.135, allocations: 212.2 kB / 437.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.135, allocations: 8.375 kB / 437.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.1351, allocations: 16.31 kB / 437.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.1353, allocations: 123.4 kB / 437.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1353, allocations: 0 / 437.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.1354, allocations: 7.984 kB / 437.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1354, allocations: 4 kB / 437.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1355, allocations: 55.91 kB / 437.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007659/0.1363, allocations: 384.5 kB / 438.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.1367, allocations: 130.5 kB / 438.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/0.1368, allocations: 40.83 kB / 438.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.1368, allocations: 7.984 kB / 438.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1368, allocations: 34.56 kB / 438.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1368, allocations: 0 / 438.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002355/0.1392, allocations: 1.215 MB / 439.6 MB, free: 7.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.1393, allocations: 136.5 kB / 439.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1395, allocations: 178.3 kB / 439.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1395, allocations: 29.7 kB / 439.9 MB, free: 7.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.1396, allocations: 116.5 kB / 440.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.1396, allocations: 52.81 kB / 440.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.1397, allocations: 41.7 kB / 440.2 MB, free: 7.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1399, allocations: 330.8 kB / 440.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1401, allocations: 91.95 kB / 440.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.1403, allocations: 139.3 kB / 440.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.1406, allocations: 208.8 kB / 440.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1406, allocations: 0 / 440.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005612/0.1412, allocations: 306.2 kB / 441.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1412, allocations: 4 kB / 441.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.1412, allocations: 4 kB / 441.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.1414, allocations: 44.77 kB / 441.3 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1416, allocations: 35.97 kB / 441.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.143, allocations: 1.512 MB / 442.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.847e-05/0.1431, allocations: 15.89 kB / 442.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1431, allocations: 8 kB / 442.8 MB, free: 4.363 MB / 366.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.000136/0.1432, allocations: 129.8 kB / 443 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.1433, allocations: 15.91 kB / 443 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.1433, allocations: 25.53 kB / 443 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1433, allocations: 8 kB / 443 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1433, allocations: 0 / 443 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1433, allocations: 7.922 kB / 443 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1436, allocations: 245.6 kB / 443.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1436, allocations: 0 / 443.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.1439, allocations: 55.89 kB / 443.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1439, allocations: 0 / 443.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1439, allocations: 4 kB / 443.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1439, allocations: 0 / 443.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1439, allocations: 4 kB / 443.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1445, allocations: 413.7 kB / 443.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.1445, allocations: 92.95 kB / 443.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1446, allocations: 8 kB / 443.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1447, allocations: 8.031 kB / 443.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.1447, allocations: 15.88 kB / 443.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1447, allocations: 0 / 443.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1449, allocations: 132.2 kB / 444 MB, free: 3.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1449, allocations: 0 / 444 MB, free: 3.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001569/0.1464, allocations: 0.5155 MB / 444.5 MB, free: 2.617 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.000994/0.1474, allocations: 0.527 MB / 445 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.1481, allocations: 377.8 kB / 445.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.1481, allocations: 4 kB / 445.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1483, allocations: 91.88 kB / 445.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1487, allocations: 26.17 kB / 445.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.1494, allocations: 445.4 kB / 445.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1498, allocations: 0.7318 MB / 446.7 MB, free: 356 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.1499, allocations: 19.44 kB / 446.7 MB, free: 336 kB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1499, allocations: 0 / 446.7 MB, free: 336 kB / 366.1 MB Notification: Performance of Templates: time 0.2279/0.3778, allocations: 6.179 MB / 452.9 MB, free: 23.19 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 -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: 8.408595846005483]