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.0009544/0.0009543, allocations: 199.3 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007455/0.0007456, allocations: 100.8 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002217/0.0002218, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1979, allocations: 51.3 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3025, allocations: 91 MB / 499.6 MB, free: 0.582 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.3028, allocations: 75.95 kB / 499.7 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2081/0.5109, allocations: 17 MB / 0.5046 GB, free: 64.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5109, allocations: 0.5312 kB / 0.5046 GB, free: 64.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.5109, allocations: 7.562 kB / 0.5046 GB, free: 64.12 MB / 378.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.001243/0.5122, allocations: 0.563 MB / 0.5052 GB, free: 63.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5122, allocations: 9.719 kB / 0.5052 GB, free: 63.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.5123, allocations: 17.91 kB / 0.5052 GB, free: 63.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.5126, allocations: 243.6 kB / 0.5054 GB, free: 63.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5126, allocations: 8.844 kB / 0.5054 GB, free: 63.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.5126, allocations: 10 kB / 0.5054 GB, free: 63.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.5129, allocations: 134.7 kB / 0.5056 GB, free: 63.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5129, allocations: 192 / 0.5056 GB, free: 63.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.513, allocations: 8.344 kB / 0.5056 GB, free: 63.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.513, allocations: 1.781 kB / 0.5056 GB, free: 63.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.5131, allocations: 61.52 kB / 0.5056 GB, free: 63.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.5139, allocations: 392.6 kB / 0.506 GB, free: 63.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.5143, allocations: 131 kB / 0.5061 GB, free: 63.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.5145, allocations: 42.66 kB / 0.5062 GB, free: 63.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.5145, allocations: 1.344 kB / 0.5062 GB, free: 63.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5145, allocations: 37.98 kB / 0.5062 GB, free: 63.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.5145, allocations: 3.688 kB / 0.5062 GB, free: 63.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002234/0.5168, allocations: 1.218 MB / 0.5074 GB, free: 62.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.5168, allocations: 141.7 kB / 0.5075 GB, free: 62.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.517, allocations: 180 kB / 0.5077 GB, free: 62.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.517, allocations: 30.48 kB / 0.5078 GB, free: 62.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.5171, allocations: 111.1 kB / 0.5079 GB, free: 62.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.5171, allocations: 53.47 kB / 0.5079 GB, free: 62.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.5171, allocations: 3.688 kB / 0.5079 GB, free: 62.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.5172, allocations: 326.2 kB / 0.5082 GB, free: 61.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.5174, allocations: 100.3 kB / 0.5083 GB, free: 61.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.5176, allocations: 141.3 kB / 0.5085 GB, free: 61.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.5179, allocations: 194.8 kB / 0.5086 GB, free: 61.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5179, allocations: 1.375 kB / 0.5086 GB, free: 61.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005084/0.5184, allocations: 304.4 kB / 0.5089 GB, free: 61.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5184, allocations: 4.812 kB / 0.5089 GB, free: 61.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.5185, allocations: 7.188 kB / 0.5089 GB, free: 61.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.5186, allocations: 43.61 kB / 0.509 GB, free: 61.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5188, allocations: 39.89 kB / 0.509 GB, free: 61.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008796/0.5197, allocations: 1.401 MB / 0.5104 GB, free: 60.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.095e-05/0.5198, allocations: 9.891 kB / 0.5104 GB, free: 60.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.5198, allocations: 5.422 kB / 0.5104 GB, free: 60.36 MB / 378.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 9.695e-05/0.5199, allocations: 143.7 kB / 0.5105 GB, free: 60.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.52, allocations: 13.09 kB / 0.5106 GB, free: 60.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.52, allocations: 23.55 kB / 0.5106 GB, free: 60.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.52, allocations: 5.5 kB / 0.5106 GB, free: 60.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.52, allocations: 2.344 kB / 0.5106 GB, free: 60.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5201, allocations: 1.875 kB / 0.5106 GB, free: 60.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.5203, allocations: 248.7 kB / 0.5108 GB, free: 60.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.5203, allocations: 1.125 kB / 0.5108 GB, free: 60.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.5206, allocations: 55.44 kB / 0.5109 GB, free: 60.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5206, allocations: 5.312 kB / 0.5109 GB, free: 60.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5206, allocations: 5.641 kB / 0.5109 GB, free: 60.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5206, allocations: 8.594 kB / 0.5109 GB, free: 60.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5206, allocations: 0 / 0.5109 GB, free: 60.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.5211, allocations: 416.9 kB / 0.5113 GB, free: 59.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.5212, allocations: 90.83 kB / 0.5114 GB, free: 59.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.5212, allocations: 7.781 kB / 0.5114 GB, free: 59.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.5213, allocations: 9.812 kB / 0.5114 GB, free: 59.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.5213, allocations: 12.41 kB / 0.5114 GB, free: 59.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.5214, allocations: 2.469 kB / 0.5114 GB, free: 59.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.986e-05/0.5214, allocations: 126.1 kB / 0.5115 GB, free: 59.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5215, allocations: 0 / 0.5115 GB, free: 59.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001606/0.5231, allocations: 0.5246 MB / 0.512 GB, free: 59.69 MB / 378.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.001166/0.5242, allocations: 0.564 MB / 0.5126 GB, free: 59.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006179/0.5249, allocations: 390.9 kB / 0.513 GB, free: 59.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5249, allocations: 1.219 kB / 0.513 GB, free: 59.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.525, allocations: 89.42 kB / 0.5131 GB, free: 59.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.5254, allocations: 30.5 kB / 0.5131 GB, free: 59.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.5261, allocations: 492 kB / 0.5136 GB, free: 59.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.5263, allocations: 0.735 MB / 0.5143 GB, free: 58.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.5264, allocations: 16.72 kB / 0.5143 GB, free: 58.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5264, allocations: 3.688 kB / 0.5143 GB, free: 58.43 MB / 378.7 MB Notification: Performance of Templates: time 0.00882/0.5352, allocations: 6.168 MB / 0.5203 GB, free: 58.32 MB / 378.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/jenkins1/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