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.001099/0.001099, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.17 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1117, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002855/0.1146, allocations: 1.62 MB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.1197, allocations: 3.204 MB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1198, allocations: 7.938 kB / 363.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.1203, allocations: 59.69 kB / 363.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.1203, allocations: 15.86 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.1242, allocations: 1.425 MB / 365.2 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.1245, allocations: 151.6 kB / 365.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1247, allocations: 37.03 kB / 365.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.1248, allocations: 47.84 kB / 365.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1249, allocations: 59.69 kB / 365.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1249, allocations: 8 kB / 365.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.1266, allocations: 1.382 MB / 366.9 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1268, allocations: 31.92 kB / 366.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.1269, allocations: 55.66 kB / 367 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.128, allocations: 1.201 MB / 368.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1281, allocations: 4 kB / 368.2 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1281, allocations: 4 kB / 368.2 MB, free: 4.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1281, allocations: 0 / 368.2 MB, free: 4.051 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.001061/0.1292, allocations: 0.5652 MB / 368.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1292, allocations: 8.031 kB / 368.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.1293, allocations: 16.75 kB / 368.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1296, allocations: 212.1 kB / 369 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1296, allocations: 12.38 kB / 369 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.1296, allocations: 4.375 kB / 369 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1299, allocations: 125 kB / 369.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1299, allocations: 8 kB / 369.1 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1299, allocations: 3.984 kB / 369.1 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1299, allocations: 0 / 369.1 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1301, allocations: 59.95 kB / 369.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.1307, allocations: 392.4 kB / 369.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.1311, allocations: 118.6 kB / 369.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.1312, allocations: 44.83 kB / 369.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1313, allocations: 4.188 kB / 369.7 MB, free: 2.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1313, allocations: 38.5 kB / 369.8 MB, free: 2.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1313, allocations: 0 / 369.8 MB, free: 2.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002408/0.1337, allocations: 1.207 MB / 371 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.1339, allocations: 136.5 kB / 371.1 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1341, allocations: 174.3 kB / 371.3 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1341, allocations: 37.7 kB / 371.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.1342, allocations: 104.5 kB / 371.4 MB, free: 464 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.1342, allocations: 59.19 kB / 371.5 MB, free: 404 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.1343, allocations: 41.7 kB / 371.5 MB, free: 356 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1345, allocations: 334.8 kB / 371.9 MB, free: 12 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2063/0.3408, allocations: 88.06 kB / 371.9 MB, free: 20.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3411, allocations: 132.8 kB / 372.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.3415, allocations: 202.5 kB / 372.3 MB, free: 20.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3415, allocations: 0 / 372.3 MB, free: 20.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000615/0.3421, allocations: 306.1 kB / 372.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3421, allocations: 9 kB / 372.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.3422, allocations: 2.203 kB / 372.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.3424, allocations: 44.08 kB / 372.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3425, allocations: 32.78 kB / 372.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.3436, allocations: 1.513 MB / 374.2 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/0.3437, allocations: 10.83 kB / 374.2 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3437, allocations: 5.922 kB / 374.2 MB, free: 18.73 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.0001137/0.3438, allocations: 143.1 kB / 374.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.3439, allocations: 12.59 kB / 374.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.3439, allocations: 24.62 kB / 374.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3439, allocations: 1.25 kB / 374.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.344, allocations: 4.453 kB / 374.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.344, allocations: 3.969 kB / 374.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.3442, allocations: 252.7 kB / 374.6 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3442, allocations: 0.9688 kB / 374.6 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.3445, allocations: 58.61 kB / 374.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3445, allocations: 1.031 kB / 374.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3445, allocations: 1.875 kB / 374.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3446, allocations: 1.062 kB / 374.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3446, allocations: 1.531 kB / 374.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/0.3451, allocations: 415.5 kB / 375.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.3451, allocations: 88.31 kB / 375.2 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3452, allocations: 6.312 kB / 375.2 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3453, allocations: 11 kB / 375.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3453, allocations: 11.64 kB / 375.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3454, allocations: 8.094 kB / 375.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.89e-05/0.3455, allocations: 125.1 kB / 375.3 MB, free: 17.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3455, allocations: 0 / 375.3 MB, free: 17.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001756/0.3472, allocations: 0.516 MB / 375.8 MB, free: 17.95 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.001085/0.3483, allocations: 0.5461 MB / 376.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006394/0.349, allocations: 396.1 kB / 376.8 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.349, allocations: 0 / 376.8 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.3491, allocations: 93.75 kB / 376.9 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3495, allocations: 30 kB / 376.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.3502, allocations: 398 kB / 377.3 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.3504, allocations: 0.7296 MB / 378 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.911e-05/0.3505, allocations: 29.72 kB / 378 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.3506, allocations: 15 kB / 378.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3506, allocations: 4.391 kB / 378.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of Templates: time 0.01816/0.3688, allocations: 7.874 MB / 385.9 MB, free: 14.65 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches