Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 196.1 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.6 MB / 244.3 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007643/0.0007642, allocations: 96.58 kB / 296.4 MB, free: 6.762 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002259/0.0002259, allocations: 4 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2132, allocations: 51.3 MB / 407.5 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001233/0.2145, allocations: 1.296 MB / 408.8 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.2178, allocations: 3.082 MB / 411.9 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.2179, allocations: 0 / 411.9 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.2181, allocations: 43.77 kB / 411.9 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.2182, allocations: 7.938 kB / 411.9 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.2202, allocations: 1.064 MB / 413 MB, free: 22.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2204, allocations: 123.7 kB / 413.1 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.2205, allocations: 21.11 kB / 413.1 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.2205, allocations: 43.84 kB / 413.2 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.2206, allocations: 47.77 kB / 413.2 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2206, allocations: 4 kB / 413.2 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009342/0.2216, allocations: 1.108 MB / 414.3 MB, free: 20.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.2217, allocations: 27.91 kB / 414.3 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.2217, allocations: 41.64 kB / 414.4 MB, free: 20.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.2223, allocations: 1.085 MB / 415.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2223, allocations: 4 kB / 415.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2223, allocations: 0 / 415.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2223, allocations: 0 / 415.5 MB, free: 19.79 MB / 298.7 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.0006767/0.223, allocations: 0.5378 MB / 416 MB, free: 19.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.223, allocations: 12.03 kB / 416 MB, free: 19.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.2231, allocations: 11.81 kB / 416 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.2233, allocations: 210.8 kB / 416.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2233, allocations: 4 kB / 416.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.2233, allocations: 8 kB / 416.3 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.2235, allocations: 144 kB / 416.4 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2236, allocations: 0 / 416.4 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2236, allocations: 4 kB / 416.4 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2236, allocations: 4 kB / 416.4 MB, free: 18.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.2237, allocations: 55.95 kB / 416.5 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.2242, allocations: 392.4 kB / 416.8 MB, free: 18.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.2245, allocations: 126.6 kB / 417 MB, free: 18.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.2246, allocations: 40.97 kB / 417 MB, free: 18.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.2246, allocations: 4 kB / 417 MB, free: 18.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.2246, allocations: 38.56 kB / 417 MB, free: 18.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2246, allocations: 0 / 417 MB, free: 18.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001765/0.2264, allocations: 1.219 MB / 418.3 MB, free: 16.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2265, allocations: 144.5 kB / 418.4 MB, free: 16.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2266, allocations: 179.2 kB / 418.6 MB, free: 16.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2266, allocations: 29.7 kB / 418.6 MB, free: 16.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.2266, allocations: 112.5 kB / 418.7 MB, free: 16.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.2267, allocations: 55.2 kB / 418.8 MB, free: 16.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.2267, allocations: 0 / 418.8 MB, free: 16.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.2267, allocations: 326.8 kB / 419.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2269, allocations: 103.9 kB / 419.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.227, allocations: 131.3 kB / 419.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.2272, allocations: 119.8 kB / 419.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2272, allocations: 0 / 419.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004499/0.2277, allocations: 316.3 kB / 419.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2277, allocations: 4 kB / 419.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.2277, allocations: 8 kB / 419.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.2279, allocations: 36.83 kB / 419.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.228, allocations: 39.91 kB / 419.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007763/0.2288, allocations: 1.397 MB / 421.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.2289, allocations: 8.016 kB / 421.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2289, allocations: 8 kB / 421.3 MB, free: 13.48 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.229, allocations: 137.9 kB / 421.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.2291, allocations: 19.81 kB / 421.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.2291, allocations: 21.53 kB / 421.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2291, allocations: 0 / 421.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.2291, allocations: 0 / 421.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2291, allocations: 3.984 kB / 421.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.2293, allocations: 245.5 kB / 421.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2293, allocations: 4 kB / 421.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.2296, allocations: 59.89 kB / 421.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2296, allocations: 0.6562 kB / 421.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2296, allocations: 4 kB / 421.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2296, allocations: 4 kB / 421.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2296, allocations: 0 / 421.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.23, allocations: 411.1 kB / 422.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.2301, allocations: 96.88 kB / 422.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2301, allocations: 4 kB / 422.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2302, allocations: 15.97 kB / 422.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.2303, allocations: 4 kB / 422.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2303, allocations: 7.984 kB / 422.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.103e-05/0.2303, allocations: 123.2 kB / 422.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2304, allocations: 3.938 kB / 422.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001153/0.2315, allocations: 0.5156 MB / 422.9 MB, free: 11.73 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008407/0.2324, allocations: 0.5565 MB / 423.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.2329, allocations: 389.9 kB / 423.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2329, allocations: 4 kB / 423.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.233, allocations: 87.88 kB / 423.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2334, allocations: 33.52 kB / 424 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.2339, allocations: 478.3 kB / 424.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.234, allocations: 0.7363 MB / 425.2 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.2341, allocations: 15.44 kB / 425.2 MB, free: 9.379 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2341, allocations: 4 kB / 425.2 MB, free: 9.375 MB / 298.7 MB Notification: Performance of Templates: time 0.006779/0.2409, allocations: 6.15 MB / 431.3 MB, free: 3.215 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches