Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009665/0.0009668, allocations: 96.84 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000987/0.000987, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 306.6 MB, free: 1.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 51.49 MB / 358.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001801/0.1248, allocations: 1.309 MB / 359.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004631/0.1294, allocations: 3.046 MB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1296, allocations: 0 / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1299, allocations: 55.83 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.13, allocations: 23.84 kB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.1325, allocations: 0.9734 MB / 363.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1326, allocations: 95.77 kB / 363.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1328, allocations: 29.36 kB / 363.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.1328, allocations: 51.78 kB / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.1329, allocations: 39.78 kB / 363.7 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1329, allocations: 4 kB / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.1341, allocations: 1.058 MB / 364.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.1342, allocations: 27.91 kB / 364.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1342, allocations: 45.58 kB / 364.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1353, allocations: 1.076 MB / 365.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1353, allocations: 0 / 365.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1353, allocations: 8 kB / 365.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1353, allocations: 0 / 365.9 MB, free: 6.109 MB / 302.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.0008923/0.1362, allocations: 0.5456 MB / 366.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1362, allocations: 12.03 kB / 366.4 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1363, allocations: 15.8 kB / 366.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1365, allocations: 210.8 kB / 366.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1366, allocations: 8 kB / 366.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.1366, allocations: 15.94 kB / 366.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.137, allocations: 129 kB / 366.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.137, allocations: 4 kB / 366.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.137, allocations: 4 kB / 366.8 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.137, allocations: 0 / 366.8 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.1373, allocations: 67.89 kB / 366.9 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.1379, allocations: 380.5 kB / 367.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.1383, allocations: 138.5 kB / 367.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.1383, allocations: 0 / 367.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1383, allocations: 30.56 kB / 367.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.1383, allocations: 0 / 367.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002283/0.1406, allocations: 1.229 MB / 368.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.1407, allocations: 132.5 kB / 368.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1409, allocations: 174.2 kB / 369 MB, free: 2.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1409, allocations: 29.7 kB / 369 MB, free: 2.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.141, allocations: 108.5 kB / 369.1 MB, free: 2.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.141, allocations: 51.2 kB / 369.1 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.1411, allocations: 8 kB / 369.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1412, allocations: 330.8 kB / 369.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.1414, allocations: 95.95 kB / 369.6 MB, free: 2.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1416, allocations: 136.4 kB / 369.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1418, allocations: 112.8 kB / 369.8 MB, free: 1.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1418, allocations: 4 kB / 369.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005656/0.1424, allocations: 310.1 kB / 370.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1424, allocations: 8 kB / 370.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.1424, allocations: 48 / 370.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.1426, allocations: 52.73 kB / 370.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1428, allocations: 27.98 kB / 370.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.198/0.3408, allocations: 1.412 MB / 371.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.341, allocations: 12.77 kB / 371.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3411, allocations: 4.375 kB / 371.6 MB, free: 18.21 MB / 302.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 (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.0001453/0.3412, allocations: 139.4 kB / 371.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.3413, allocations: 15.42 kB / 371.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.3413, allocations: 24.39 kB / 371.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3413, allocations: 1.594 kB / 371.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3414, allocations: 1.281 kB / 371.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3414, allocations: 0.7031 kB / 371.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.3417, allocations: 251.5 kB / 372.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3417, allocations: 2.078 kB / 372.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.342, allocations: 52.92 kB / 372.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.342, allocations: 4.969 kB / 372.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.342, allocations: 2.594 kB / 372.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.342, allocations: 1.375 kB / 372.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.342, allocations: 3.594 kB / 372.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.3426, allocations: 418.7 kB / 372.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.3426, allocations: 91.3 kB / 372.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3427, allocations: 5.078 kB / 372.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3428, allocations: 9.891 kB / 372.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3428, allocations: 8.281 kB / 372.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3429, allocations: 3.016 kB / 372.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.603e-05/0.3429, allocations: 130.3 kB / 372.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.343, allocations: 3.828 kB / 372.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001849/0.3448, allocations: 0.5143 MB / 373.3 MB, free: 17.6 MB / 302.1 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.001141/0.346, allocations: 0.5412 MB / 373.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009763/0.3469, allocations: 399.2 kB / 374.2 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.347, allocations: 1.188 kB / 374.2 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.3472, allocations: 92.06 kB / 374.3 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3476, allocations: 26.8 kB / 374.3 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.3485, allocations: 449.8 kB / 374.8 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3487, allocations: 0.7356 MB / 375.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.924e-05/0.3488, allocations: 37.56 kB / 375.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.3489, allocations: 16.12 kB / 375.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3489, allocations: 0 / 375.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of Templates: time 0.02249/0.3714, allocations: 7.726 MB / 383.3 MB, free: 14.74 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches