Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 102.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 55.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2258, allocations: 49.43 MB / 401.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002744/0.2286, allocations: 1.606 MB / 403 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004553/0.2332, allocations: 3.166 MB / 406.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.2333, allocations: 4 kB / 406.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.2336, allocations: 51.69 kB / 406.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.2337, allocations: 11.88 kB / 406.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.2369, allocations: 1.423 MB / 407.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.2371, allocations: 147.6 kB / 407.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.2372, allocations: 29.11 kB / 407.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.2373, allocations: 55.83 kB / 407.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2374, allocations: 55.7 kB / 407.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.2375, allocations: 8 kB / 407.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.2391, allocations: 1.378 MB / 409.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.2392, allocations: 31.91 kB / 409.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.2393, allocations: 55.67 kB / 409.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.2404, allocations: 1.201 MB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2404, allocations: 4 kB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2404, allocations: 0 / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2404, allocations: 0 / 410.6 MB, free: 15.62 MB / 334.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.0009316/0.2414, allocations: 0.5643 MB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2414, allocations: 8.031 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.2415, allocations: 16.84 kB / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.2417, allocations: 224 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2417, allocations: 11.94 kB / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.2418, allocations: 11.91 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.242, allocations: 132.6 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.242, allocations: 0 / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.242, allocations: 4 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2421, allocations: 4 kB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2422, allocations: 59.95 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.2428, allocations: 380.5 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2431, allocations: 130.5 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.2432, allocations: 48.97 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.2433, allocations: 0 / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2433, allocations: 38.55 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.2433, allocations: 0 / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002143/0.2454, allocations: 1.206 MB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.2455, allocations: 132.5 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2457, allocations: 174.4 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2457, allocations: 33.7 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.2458, allocations: 104.5 kB / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.2458, allocations: 55.2 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.2459, allocations: 49.7 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.246, allocations: 322.8 kB / 414.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2462, allocations: 97.16 kB / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.2464, allocations: 135.3 kB / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.2467, allocations: 208.8 kB / 414.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2467, allocations: 4 kB / 414.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005465/0.2473, allocations: 302.1 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2473, allocations: 8 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.2473, allocations: 0 / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/0.2475, allocations: 48.81 kB / 415.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.2477, allocations: 31.92 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.2489, allocations: 1.527 MB / 416.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.754e-05/0.249, allocations: 8.031 kB / 416.6 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2491, allocations: 4 kB / 416.6 MB, free: 9.051 MB / 334.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.000119/0.2492, allocations: 137.8 kB / 416.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.2492, allocations: 15.84 kB / 416.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.2493, allocations: 29.52 kB / 416.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2493, allocations: 3.938 kB / 416.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2493, allocations: 0 / 416.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.2494, allocations: 85.02 kB / 416.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.2494, allocations: 12 kB / 416.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2495, allocations: 11.98 kB / 416.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.2496, allocations: 7.984 kB / 416.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005837/0.2502, allocations: 320.6 kB / 417.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005517/0.2507, allocations: 0.4898 MB / 417.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001414/0.2509, allocations: 87.98 kB / 417.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.251, allocations: 132.2 kB / 418 MB, free: 7.688 MB / 334.1 MB Notification: Performance of Backend: time 1.993e-06/0.251, allocations: 4 kB / 418 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.2528, allocations: 0.8344 MB / 418.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007308/0.2536, allocations: 0.7845 MB / 419.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of Templates: time 0.01408/0.2677, allocations: 8.154 MB / 427.7 MB, free: 13.84 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches