Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000911/0.0009111, allocations: 183 kB / 18.04 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007262/0.0007265, allocations: 85.94 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1807, allocations: 47.56 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08744/0.2682, allocations: 89.55 MB / 466.6 MB, free: 6.973 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.2684, allocations: 71.97 kB / 466.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04192/0.3104, allocations: 16.9 MB / 483.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3104, allocations: 4 kB / 483.5 MB, free: 5.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.3104, allocations: 3.938 kB / 483.5 MB, free: 5.973 MB / 362.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.0009606/0.3114, allocations: 0.5652 MB / 484.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3114, allocations: 8.031 kB / 484.1 MB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.3115, allocations: 16.75 kB / 484.1 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.3118, allocations: 236 kB / 484.4 MB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3118, allocations: 12.38 kB / 484.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.3119, allocations: 12.38 kB / 484.4 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.3121, allocations: 130.4 kB / 484.5 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3121, allocations: 4.125 kB / 484.5 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3121, allocations: 11.94 kB / 484.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3122, allocations: 4 kB / 484.5 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3123, allocations: 59.95 kB / 484.6 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.3129, allocations: 392.4 kB / 485 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.3132, allocations: 142.5 kB / 485.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.3133, allocations: 37.06 kB / 485.1 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.3133, allocations: 0 / 485.1 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3134, allocations: 38.56 kB / 485.2 MB, free: 4.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3134, allocations: 4 kB / 485.2 MB, free: 4.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002016/0.3154, allocations: 1.211 MB / 486.4 MB, free: 2.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.3155, allocations: 140.4 kB / 486.5 MB, free: 2.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3156, allocations: 179.2 kB / 486.7 MB, free: 2.449 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3156, allocations: 29.7 kB / 486.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.3157, allocations: 116.4 kB / 486.9 MB, free: 2.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.3158, allocations: 51.27 kB / 486.9 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.3158, allocations: 3.938 kB / 486.9 MB, free: 2.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3159, allocations: 326.8 kB / 487.2 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3161, allocations: 95.94 kB / 487.3 MB, free: 1.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3162, allocations: 132.2 kB / 487.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.3165, allocations: 214.3 kB / 487.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3166, allocations: 0 / 487.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004981/0.3171, allocations: 302.2 kB / 488 MB, free: 1.164 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3171, allocations: 14.19 kB / 488 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.3171, allocations: 3.938 kB / 488 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.3173, allocations: 40.81 kB / 488 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3175, allocations: 39.92 kB / 488 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.3186, allocations: 1.405 MB / 489.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.975e-05/0.3187, allocations: 8.016 kB / 489.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.3187, allocations: 8 kB / 489.5 MB, free: 15.51 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.0001248/0.3188, allocations: 137.9 kB / 489.6 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.3189, allocations: 15.81 kB / 489.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.3189, allocations: 21.53 kB / 489.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3189, allocations: 4 kB / 489.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.319, allocations: 0 / 489.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.319, allocations: 3.984 kB / 489.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.3192, allocations: 245.5 kB / 489.9 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3192, allocations: 0 / 489.9 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.3195, allocations: 55.89 kB / 489.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3195, allocations: 8 kB / 490 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3195, allocations: 4 kB / 490 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3195, allocations: 0 / 490 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3195, allocations: 0 / 490 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/0.3201, allocations: 411.1 kB / 490.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.3201, allocations: 88.92 kB / 490.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3201, allocations: 12 kB / 490.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3203, allocations: 16.03 kB / 490.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.3203, allocations: 15.86 kB / 490.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3203, allocations: 0 / 490.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.4e-05/0.3204, allocations: 123.2 kB / 490.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3204, allocations: 0 / 490.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001208/0.3216, allocations: 0.5311 MB / 491.1 MB, free: 13.75 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.001186/0.3228, allocations: 0.572 MB / 491.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005877/0.3234, allocations: 391.7 kB / 492.1 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3234, allocations: 0 / 492.1 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3236, allocations: 87.89 kB / 492.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3239, allocations: 32.98 kB / 492.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.3245, allocations: 448.6 kB / 492.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3248, allocations: 0.7322 MB / 493.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.809e-05/0.3249, allocations: 33.14 kB / 493.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.325, allocations: 15.44 kB / 493.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.325, allocations: 4 kB / 493.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of Templates: time 0.01272/0.3377, allocations: 7.677 MB / 0.4894 GB, free: 3.691 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches