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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002004/0.002004, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.94 kB / 306.9 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1215, allocations: 50.54 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003533/0.1251, allocations: 1.6 MB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005146/0.1302, allocations: 3.216 MB / 362.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1304, allocations: 0 / 362.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.1308, allocations: 59.69 kB / 362.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.1309, allocations: 7.875 kB / 362.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.1346, allocations: 1.441 MB / 363.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.1349, allocations: 143.7 kB / 363.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.135, allocations: 41.02 kB / 364 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.1351, allocations: 51.78 kB / 364 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1352, allocations: 59.69 kB / 364.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1352, allocations: 8 kB / 364.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.1371, allocations: 1.378 MB / 365.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.143e-05/0.1372, allocations: 31.92 kB / 365.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.1373, allocations: 55.66 kB / 365.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1386, allocations: 1.193 MB / 366.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1386, allocations: 4 kB / 366.7 MB, free: 4.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1386, allocations: 0 / 366.7 MB, free: 4.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1387, allocations: 0 / 366.7 MB, free: 4.805 MB / 302.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.001173/0.1398, allocations: 0.5691 MB / 367.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1399, allocations: 8.031 kB / 367.3 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.14, allocations: 16.75 kB / 367.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1402, allocations: 208.1 kB / 367.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1402, allocations: 8.359 kB / 367.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1403, allocations: 16.31 kB / 367.6 MB, free: 3.898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.1405, allocations: 131.6 kB / 367.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1405, allocations: 0 / 367.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1406, allocations: 4 kB / 367.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1406, allocations: 0 / 367.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.1407, allocations: 55.95 kB / 367.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.1413, allocations: 392.4 kB / 368.1 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1417, allocations: 122.6 kB / 368.3 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.1418, allocations: 52.95 kB / 368.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1418, allocations: 0 / 368.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1419, allocations: 34.56 kB / 368.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1419, allocations: 0 / 368.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002183/0.1441, allocations: 1.21 MB / 369.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/0.1442, allocations: 136.5 kB / 369.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1443, allocations: 174.3 kB / 369.9 MB, free: 1.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1444, allocations: 33.7 kB / 369.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.1445, allocations: 104.5 kB / 370 MB, free: 1.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.1445, allocations: 59.19 kB / 370 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-05/0.1446, allocations: 41.7 kB / 370.1 MB, free: 1.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1447, allocations: 326.8 kB / 370.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1449, allocations: 99.94 kB / 370.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1451, allocations: 140.5 kB / 370.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.1454, allocations: 205.5 kB / 370.8 MB, free: 328 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1455, allocations: 0 / 370.8 MB, free: 328 kB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005366/0.146, allocations: 306.2 kB / 371.1 MB, free: 12 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.146, allocations: 8 kB / 371.1 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.1461, allocations: 3.984 kB / 371.2 MB, free: 0 / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.3377, allocations: 42.12 kB / 371.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3379, allocations: 34.75 kB / 371.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.339, allocations: 1.512 MB / 372.7 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3392, allocations: 6.469 kB / 372.7 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.3392, allocations: 7.969 kB / 372.8 MB, free: 18.44 MB / 302.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.0001241/0.3393, allocations: 137 kB / 372.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.3394, allocations: 14.81 kB / 372.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.3394, allocations: 23.25 kB / 372.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3395, allocations: 4.344 kB / 372.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3395, allocations: 4.719 kB / 372.9 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3395, allocations: 4.766 kB / 372.9 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.3397, allocations: 244.6 kB / 373.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3397, allocations: 0 / 373.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.34, allocations: 54.03 kB / 373.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.34, allocations: 4.688 kB / 373.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.34, allocations: 1.672 kB / 373.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.3401, allocations: 1.156 kB / 373.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3401, allocations: 4.547 kB / 373.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.3406, allocations: 416.7 kB / 373.6 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.3406, allocations: 87.52 kB / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3406, allocations: 4.719 kB / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3408, allocations: 12.66 kB / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.3408, allocations: 14.64 kB / 373.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.3408, allocations: 3.406 kB / 373.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.941e-05/0.3409, allocations: 125.7 kB / 373.9 MB, free: 17.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3409, allocations: 4.766 kB / 373.9 MB, free: 17.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001791/0.3427, allocations: 0.5115 MB / 374.4 MB, free: 17.83 MB / 302.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.001226/0.344, allocations: 0.5506 MB / 375 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006866/0.3447, allocations: 404.4 kB / 375.4 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3447, allocations: 1.375 kB / 375.4 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3449, allocations: 88.3 kB / 375.4 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3452, allocations: 39.11 kB / 375.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.346, allocations: 406.3 kB / 375.9 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3462, allocations: 0.7286 MB / 376.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.3463, allocations: 29.17 kB / 376.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.3463, allocations: 15.44 kB / 376.6 MB, free: 16.68 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3464, allocations: 3.438 kB / 376.6 MB, free: 16.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01862/0.365, allocations: 7.877 MB / 384.5 MB, free: 14.83 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches