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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 108.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 52.14 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08659, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002843/0.08947, allocations: 1.608 MB / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.0941, allocations: 3.204 MB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/0.09424, allocations: 4 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.09457, allocations: 55.69 kB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.09464, allocations: 11.86 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.09781, allocations: 1.419 MB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.09806, allocations: 151.6 kB / 335.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.09819, allocations: 33.03 kB / 335.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.09827, allocations: 51.84 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.09837, allocations: 51.75 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.0984, allocations: 8 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.09983, allocations: 1.382 MB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.09992, allocations: 31.86 kB / 336.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.09999, allocations: 51.67 kB / 336.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.101, allocations: 1.209 MB / 338 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.101, allocations: 0 / 338 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.101, allocations: 0 / 338 MB, free: 10.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1011, allocations: 0 / 338 MB, free: 10.45 MB / 286.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.0009003/0.102, allocations: 0.5652 MB / 338.5 MB, free: 9.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.102, allocations: 8.031 kB / 338.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.1021, allocations: 20.69 kB / 338.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1023, allocations: 212.1 kB / 338.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.1024, allocations: 8.375 kB / 338.8 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.1024, allocations: 8.375 kB / 338.8 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1027, allocations: 130.2 kB / 338.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1027, allocations: 0 / 338.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1027, allocations: 0 / 338.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1027, allocations: 4 kB / 338.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1029, allocations: 59.89 kB / 339 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.1035, allocations: 388.5 kB / 339.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.1039, allocations: 126.5 kB / 339.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.104, allocations: 48.83 kB / 339.5 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.104, allocations: 4 kB / 339.5 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1041, allocations: 34.75 kB / 339.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1041, allocations: 3.938 kB / 339.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002191/0.1063, allocations: 1.209 MB / 340.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.1064, allocations: 128.5 kB / 340.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1065, allocations: 174.4 kB / 341.1 MB, free: 7.004 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1065, allocations: 29.7 kB / 341.1 MB, free: 6.969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.1066, allocations: 112.4 kB / 341.2 MB, free: 6.855 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.1067, allocations: 55.16 kB / 341.3 MB, free: 6.801 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.1068, allocations: 46.92 kB / 341.3 MB, free: 6.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1069, allocations: 326.8 kB / 341.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1071, allocations: 99.94 kB / 341.7 MB, free: 6.324 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.1072, allocations: 131.4 kB / 341.9 MB, free: 6.184 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.1075, allocations: 200.9 kB / 342 MB, free: 5.984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1076, allocations: 4 kB / 342.1 MB, free: 5.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004963/0.1081, allocations: 310.1 kB / 342.4 MB, free: 5.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1081, allocations: 4 kB / 342.4 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.1081, allocations: 7.984 kB / 342.4 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.1083, allocations: 44.83 kB / 342.4 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1085, allocations: 31.92 kB / 342.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.1098, allocations: 1.515 MB / 344 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.1099, allocations: 11.97 kB / 344 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.11, allocations: 11.92 kB / 344 MB, free: 3.898 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1101, allocations: 137.8 kB / 344.1 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1101, allocations: 15.81 kB / 344.1 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.1102, allocations: 25.62 kB / 344.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1102, allocations: 0 / 344.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1102, allocations: 0 / 344.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1102, allocations: 3.938 kB / 344.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.1105, allocations: 249.5 kB / 344.4 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1105, allocations: 0 / 344.4 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.1108, allocations: 47.97 kB / 344.4 MB, free: 3.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.1108, allocations: 4 kB / 344.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1108, allocations: 7.922 kB / 344.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1108, allocations: 0 / 344.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1108, allocations: 4 kB / 344.5 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.1113, allocations: 415.1 kB / 344.9 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.1114, allocations: 88.92 kB / 345 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1114, allocations: 0 / 345 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1115, allocations: 8 kB / 345 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1116, allocations: 15.92 kB / 345 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.1116, allocations: 8 kB / 345 MB, free: 2.797 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.693e-05/0.1117, allocations: 136.2 kB / 345.1 MB, free: 2.664 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1117, allocations: 0 / 345.1 MB, free: 2.664 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001261/0.113, allocations: 0.5155 MB / 345.6 MB, free: 2.148 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.114, allocations: 0.5534 MB / 346.2 MB, free: 1.586 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006435/0.1146, allocations: 386 kB / 346.6 MB, free: 1.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.1146, allocations: 0 / 346.6 MB, free: 1.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1148, allocations: 87.89 kB / 346.7 MB, free: 1.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1151, allocations: 35.84 kB / 346.7 MB, free: 1.062 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.1158, allocations: 401.7 kB / 347.1 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1161, allocations: 0.7359 MB / 347.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.762e-05/0.1162, allocations: 33.05 kB / 347.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1162, allocations: 15.44 kB / 347.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1162, allocations: 0 / 347.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01322/0.1295, allocations: 7.876 MB / 355.7 MB, free: 7.945 MB / 302.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches