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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008865, allocations: 95.14 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 15.92 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.282, allocations: 50.39 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.396, allocations: 90.2 MB / 491.7 MB, free: 6.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.3963, allocations: 71.97 kB / 491.8 MB, free: 6.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0437/0.44, allocations: 16.96 MB / 0.4968 GB, free: 5.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4401, allocations: 0 / 0.4968 GB, free: 5.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.4401, allocations: 4 kB / 0.4968 GB, free: 5.227 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.001288/0.4414, allocations: 0.5689 MB / 0.4974 GB, free: 4.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4415, allocations: 12.03 kB / 0.4974 GB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.4415, allocations: 15.81 kB / 0.4974 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.4419, allocations: 231.3 kB / 0.4976 GB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4419, allocations: 8 kB / 0.4976 GB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.442, allocations: 11.98 kB / 0.4976 GB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.4423, allocations: 137.8 kB / 0.4977 GB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4423, allocations: 0 / 0.4977 GB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.4423, allocations: 3.953 kB / 0.4978 GB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4423, allocations: 4 kB / 0.4978 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.4425, allocations: 59.95 kB / 0.4978 GB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.4432, allocations: 396.4 kB / 0.4982 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.4436, allocations: 126.5 kB / 0.4983 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.4436, allocations: 4.125 kB / 0.4983 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4436, allocations: 38.56 kB / 0.4984 GB, free: 3.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.4436, allocations: 0 / 0.4984 GB, free: 3.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002162/0.4458, allocations: 1.214 MB / 0.4995 GB, free: 2.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.4459, allocations: 132.5 kB / 0.4997 GB, free: 1.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4461, allocations: 171 kB / 0.4998 GB, free: 1.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4461, allocations: 29.7 kB / 0.4999 GB, free: 1.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.4462, allocations: 112.4 kB / 0.5 GB, free: 1.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.4462, allocations: 55.2 kB / 0.5 GB, free: 1.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.4462, allocations: 4 kB / 0.5 GB, free: 1.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4464, allocations: 326.8 kB / 0.5003 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4465, allocations: 97.16 kB / 0.5004 GB, free: 1.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.4467, allocations: 134.3 kB / 0.5006 GB, free: 1.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.4469, allocations: 108.6 kB / 0.5007 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4469, allocations: 0 / 0.5007 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005032/0.4474, allocations: 311 kB / 0.501 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4474, allocations: 11.95 kB / 0.501 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4475, allocations: 0 / 0.501 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.4477, allocations: 44.81 kB / 0.501 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.4478, allocations: 35.92 kB / 0.501 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2332/0.6811, allocations: 1.403 MB / 0.5024 GB, free: 90.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.6813, allocations: 9.969 kB / 0.5024 GB, free: 90.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.6814, allocations: 7.297 kB / 0.5024 GB, free: 90.02 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 0.0001754/0.6816, allocations: 138.1 kB / 0.5026 GB, free: 89.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.6816, allocations: 15.69 kB / 0.5026 GB, free: 89.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-05/0.6817, allocations: 23.3 kB / 0.5026 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6817, allocations: 8.047 kB / 0.5026 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6817, allocations: 5.016 kB / 0.5026 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6818, allocations: 0 / 0.5026 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.6821, allocations: 244.6 kB / 0.5028 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6821, allocations: 1.406 kB / 0.5028 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.6825, allocations: 56.42 kB / 0.5029 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6825, allocations: 4.078 kB / 0.5029 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.6826, allocations: 3.812 kB / 0.5029 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6826, allocations: 1.938 kB / 0.5029 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6826, allocations: 5.547 kB / 0.5029 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.6833, allocations: 414.2 kB / 0.5033 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.6834, allocations: 89.89 kB / 0.5034 GB, free: 89.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.6834, allocations: 5.172 kB / 0.5034 GB, free: 89.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6835, allocations: 8.469 kB / 0.5034 GB, free: 89.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.6836, allocations: 16.44 kB / 0.5034 GB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.6836, allocations: 3.469 kB / 0.5034 GB, free: 89.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.6837, allocations: 126.2 kB / 0.5035 GB, free: 89.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6837, allocations: 0 / 0.5035 GB, free: 89.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002074/0.6858, allocations: 0.5343 MB / 0.5041 GB, free: 89.4 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.001507/0.6873, allocations: 0.57 MB / 0.5046 GB, free: 89.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007664/0.6881, allocations: 390 kB / 0.505 GB, free: 89.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6881, allocations: 5.203 kB / 0.505 GB, free: 89.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.6883, allocations: 90.98 kB / 0.5051 GB, free: 89.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.6886, allocations: 21.55 kB / 0.5051 GB, free: 89.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.6893, allocations: 446.2 kB / 0.5055 GB, free: 88.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.6895, allocations: 0.7408 MB / 0.5063 GB, free: 88.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.6896, allocations: 32.27 kB / 0.5063 GB, free: 88.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.6897, allocations: 15.62 kB / 0.5063 GB, free: 88.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6897, allocations: 0 / 0.5063 GB, free: 88.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01198/0.7017, allocations: 7.7 MB / 0.5138 GB, free: 88.07 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches