Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002767/0.002767, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 60.98 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1253, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00312/0.1285, allocations: 1.599 MB / 380.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.1338, allocations: 2.988 MB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1339, allocations: 3.938 kB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.1342, allocations: 51.77 kB / 383.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.1343, allocations: 31.78 kB / 383.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.1378, allocations: 1.453 MB / 385 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1381, allocations: 151.6 kB / 385.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1382, allocations: 21.28 kB / 385.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.1383, allocations: 55.78 kB / 385.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.938e-05/0.1384, allocations: 59.75 kB / 385.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1384, allocations: 8 kB / 385.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.1403, allocations: 1.429 MB / 386.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.1403, allocations: 35.84 kB / 386.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.1404, allocations: 43.73 kB / 386.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.1417, allocations: 1.212 MB / 388 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1417, allocations: 0 / 388 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1417, allocations: 0 / 388 MB, free: 6.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1417, allocations: 0 / 388 MB, free: 6.332 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.0009698/0.1427, allocations: 0.4935 MB / 388.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1427, allocations: 11.98 kB / 388.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.1428, allocations: 20.83 kB / 388.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.143, allocations: 158.2 kB / 388.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.143, allocations: 8.375 kB / 388.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.143, allocations: 12.38 kB / 388.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.1433, allocations: 210 kB / 388.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1433, allocations: 0 / 388.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1434, allocations: 4 kB / 388.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1434, allocations: 0 / 388.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1435, allocations: 63.89 kB / 389 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.1441, allocations: 312.2 kB / 389.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.1444, allocations: 126.6 kB / 389.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.1445, allocations: 32.84 kB / 389.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.1445, allocations: 4 kB / 389.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1446, allocations: 30.56 kB / 389.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1446, allocations: 192 / 389.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00211/0.1467, allocations: 0.9962 MB / 390.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.1468, allocations: 136.5 kB / 390.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1469, allocations: 186.2 kB / 390.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.147, allocations: 25.7 kB / 390.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.1471, allocations: 113.8 kB / 391 MB, free: 3.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.1471, allocations: 51.52 kB / 391 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.1472, allocations: 49.7 kB / 391 MB, free: 3.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1474, allocations: 322.8 kB / 391.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.1475, allocations: 99.94 kB / 391.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.1478, allocations: 212.4 kB / 391.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.1481, allocations: 205.6 kB / 391.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1481, allocations: 0 / 391.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005437/0.1486, allocations: 306.1 kB / 392.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1487, allocations: 11.94 kB / 392.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1487, allocations: 0 / 392.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.1488, allocations: 44.81 kB / 392.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.149, allocations: 27.98 kB / 392.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.1503, allocations: 1.401 MB / 393.7 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.1504, allocations: 8.031 kB / 393.7 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1504, allocations: 8 kB / 393.7 MB, free: 272 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.000143/0.1505, allocations: 141.7 kB / 393.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.1506, allocations: 11.91 kB / 393.8 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.1506, allocations: 25.45 kB / 393.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1506, allocations: 4.156 kB / 393.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1506, allocations: 4 kB / 393.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1506, allocations: 0 / 393.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.1508, allocations: 169.2 kB / 394 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1508, allocations: 4 kB / 394 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.1511, allocations: 51.97 kB / 394.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1511, allocations: 0 / 394.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1511, allocations: 0 / 394.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1511, allocations: 11.92 kB / 394.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1511, allocations: 0 / 394.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.1517, allocations: 421.8 kB / 394.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.1517, allocations: 11.91 kB / 394.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1517, allocations: 4.031 kB / 394.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1519, allocations: 8 kB / 394.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1519, allocations: 7.984 kB / 394.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1519, allocations: 8 kB / 394.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.152, allocations: 124.2 kB / 394.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.152, allocations: 0 / 394.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001697/0.1537, allocations: 0.5155 MB / 395.2 MB, free: 14.71 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.0009637/0.1547, allocations: 0.5458 MB / 395.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.1553, allocations: 366 kB / 396.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1553, allocations: 0 / 396.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1555, allocations: 87.88 kB / 396.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1558, allocations: 33.98 kB / 396.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006799/0.1565, allocations: 404.6 kB / 396.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.1566, allocations: 130.7 kB / 396.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.185e-05/0.1567, allocations: 29.06 kB / 396.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.1567, allocations: 20.5 kB / 396.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1567, allocations: 0 / 396.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01496/0.1717, allocations: 8.008 MB / 404.8 MB, free: 5.039 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.913007600000128]