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.0009596/0.0009598, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001115, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.7 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002722, allocations: 4.234 kB / 307.7 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 51.53 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001767/0.125, allocations: 1.328 MB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005414/0.1304, allocations: 3.539 MB / 364.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1306, allocations: 7.938 kB / 364.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1309, allocations: 43.83 kB / 364.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.131, allocations: 11.88 kB / 364.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.1336, allocations: 1.064 MB / 365.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1339, allocations: 139.6 kB / 365.4 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.134, allocations: 29.33 kB / 365.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.1341, allocations: 51.77 kB / 365.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.1342, allocations: 51.7 kB / 365.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.1342, allocations: 7.938 kB / 365.5 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1357, allocations: 1.362 MB / 366.9 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.1358, allocations: 35.89 kB / 366.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.438e-05/0.1359, allocations: 73.38 kB / 367 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.137, allocations: 1.181 MB / 368.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.137, allocations: 8 kB / 368.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.137, allocations: 0 / 368.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.137, allocations: 0 / 368.2 MB, free: 4.129 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.000882/0.1379, allocations: 0.5457 MB / 368.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.138, allocations: 8.031 kB / 368.7 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.138, allocations: 16.75 kB / 368.8 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1383, allocations: 216.1 kB / 369 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1383, allocations: 8.375 kB / 369 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.1383, allocations: 8.375 kB / 369 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1386, allocations: 135.3 kB / 369.1 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1386, allocations: 3.984 kB / 369.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1386, allocations: 4 kB / 369.1 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1387, allocations: 7.938 kB / 369.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1388, allocations: 59.95 kB / 369.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.1394, allocations: 384.4 kB / 369.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.1398, allocations: 130.6 kB / 369.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.1399, allocations: 44.83 kB / 369.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1399, allocations: 4 kB / 369.7 MB, free: 2.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1399, allocations: 34.69 kB / 369.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.1399, allocations: 0 / 369.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002228/0.1422, allocations: 1.23 MB / 371 MB, free: 1.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.1423, allocations: 132.5 kB / 371.1 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1424, allocations: 170.3 kB / 371.3 MB, free: 0.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1425, allocations: 29.7 kB / 371.3 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.1425, allocations: 112.5 kB / 371.4 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.1426, allocations: 55.2 kB / 371.5 MB, free: 476 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.1426, allocations: 29.7 kB / 371.5 MB, free: 440 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1428, allocations: 322.8 kB / 371.8 MB, free: 108 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.143, allocations: 99.94 kB / 371.9 MB, free: 8 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1884/0.3314, allocations: 132.2 kB / 372.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.3318, allocations: 211 kB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3318, allocations: 0 / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006844/0.3325, allocations: 305.5 kB / 372.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3326, allocations: 6.5 kB / 372.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.3326, allocations: 2.5 kB / 372.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.3328, allocations: 44.75 kB / 372.6 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.333, allocations: 35.77 kB / 372.7 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.3342, allocations: 1.408 MB / 374.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3343, allocations: 10.06 kB / 374.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3344, allocations: 5.906 kB / 374.1 MB, free: 17.91 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.0001299/0.3345, allocations: 141 kB / 374.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.3346, allocations: 18.08 kB / 374.2 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.3346, allocations: 23.92 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3347, allocations: 2.453 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3347, allocations: 1.5 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3347, allocations: 1.25 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.335, allocations: 243.3 kB / 374.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.335, allocations: 1.578 kB / 374.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.3353, allocations: 56.98 kB / 374.6 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3353, allocations: 5.156 kB / 374.6 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3353, allocations: 3.109 kB / 374.6 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3353, allocations: 3.391 kB / 374.6 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3353, allocations: 1.312 kB / 374.6 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.3359, allocations: 429.4 kB / 375 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.336, allocations: 89.56 kB / 375.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.336, allocations: 9.406 kB / 375.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.3361, allocations: 10.41 kB / 375.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3362, allocations: 9.531 kB / 375.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3362, allocations: 6.688 kB / 375.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3363, allocations: 125.2 kB / 375.2 MB, free: 17.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3364, allocations: 0.5 kB / 375.2 MB, free: 17.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002094/0.3385, allocations: 0.5154 MB / 375.7 MB, free: 17.3 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.001437/0.3399, allocations: 0.5417 MB / 376.3 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.3406, allocations: 398.4 kB / 376.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.3406, allocations: 1.375 kB / 376.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3408, allocations: 97.27 kB / 376.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3412, allocations: 29.64 kB / 376.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.342, allocations: 454.2 kB / 377.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3423, allocations: 0.739 MB / 378 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3424, allocations: 30.88 kB / 378 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.3425, allocations: 15.03 kB / 378 MB, free: 15.97 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3425, allocations: 0 / 378 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Templates: time 0.01912/0.3616, allocations: 7.758 MB / 385.8 MB, free: 13.98 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