Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007183/0.0007185, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008287/0.0008288, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000238/0.0002381, allocations: 4 kB / 308.4 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08733, allocations: 51.53 MB / 359.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001796/0.08917, allocations: 1.546 MB / 361.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.09446, allocations: 3.875 MB / 365.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.09461, allocations: 7.875 kB / 365.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.09499, allocations: 111.5 kB / 365.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.0951, allocations: 35.7 kB / 365.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.09818, allocations: 1.393 MB / 366.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.09851, allocations: 279.2 kB / 367.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.09863, allocations: 37 kB / 367.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.09882, allocations: 103.5 kB / 367.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.09895, allocations: 99.41 kB / 367.4 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.09899, allocations: 8 kB / 367.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.09922, allocations: 135.7 kB / 367.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.09932, allocations: 63.73 kB / 367.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.09943, allocations: 113.1 kB / 367.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.09968, allocations: 247.4 kB / 367.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.09969, allocations: 4 kB / 367.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0997, allocations: 0 / 367.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.09971, allocations: 4 kB / 367.9 MB, free: 5.254 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006767/0.1004, allocations: 0.5296 MB / 368.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1004, allocations: 8.875 kB / 368.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.1005, allocations: 40.55 kB / 368.5 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1008, allocations: 276.2 kB / 368.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1008, allocations: 20.55 kB / 368.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.1009, allocations: 19.94 kB / 368.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.1012, allocations: 210.1 kB / 369 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1012, allocations: 0 / 369 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1012, allocations: 8 kB / 369 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1012, allocations: 0 / 369 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1014, allocations: 91.88 kB / 369.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.1022, allocations: 496.5 kB / 369.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.1024, allocations: 174.4 kB / 369.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1026, allocations: 64.83 kB / 369.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1026, allocations: 0 / 369.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1026, allocations: 42.59 kB / 369.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.1026, allocations: 0 / 369.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004311/0.1031, allocations: 221.2 kB / 370.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.1032, allocations: 290.7 kB / 370.4 MB, free: 2.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1034, allocations: 288.5 kB / 370.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1035, allocations: 25.7 kB / 370.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.1036, allocations: 160.4 kB / 370.9 MB, free: 2.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.1036, allocations: 43.34 kB / 370.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.1037, allocations: 37.7 kB / 370.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1038, allocations: 338.8 kB / 371.3 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1039, allocations: 99.94 kB / 371.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1042, allocations: 186.1 kB / 371.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.1045, allocations: 213.2 kB / 371.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1045, allocations: 0 / 371.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004572/0.105, allocations: 313.4 kB / 372.1 MB, free: 0.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.105, allocations: 4 kB / 372.1 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.105, allocations: 7.984 kB / 372.1 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.105, allocations: 0 / 372.1 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1053, allocations: 47.97 kB / 372.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1053, allocations: 0 / 372.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1054, allocations: 31.62 kB / 372.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1055, allocations: 15.98 kB / 372.2 MB, free: 0.6875 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.1056, allocations: 153.8 kB / 372.3 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.1056, allocations: 23.72 kB / 372.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.1057, allocations: 25.97 kB / 372.4 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1057, allocations: 4 kB / 372.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1057, allocations: 0 / 372.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1057, allocations: 3.938 kB / 372.4 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.106, allocations: 265.6 kB / 372.6 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.106, allocations: 3.938 kB / 372.6 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.1062, allocations: 27.98 kB / 372.7 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1062, allocations: 0 / 372.7 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1062, allocations: 8 kB / 372.7 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1062, allocations: 3.938 kB / 372.7 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1062, allocations: 0 / 372.7 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1717/0.2779, allocations: 336.5 kB / 373 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.278, allocations: 101.8 kB / 373.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.2781, allocations: 12 kB / 373.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2783, allocations: 9.641 kB / 373.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.2783, allocations: 12.55 kB / 373.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.2784, allocations: 4.781 kB / 373.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.2786, allocations: 194.4 kB / 373.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2786, allocations: 0.75 kB / 373.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.279, allocations: 78.08 kB / 373.4 MB, free: 19.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0002659/0.2793, allocations: 149.3 kB / 373.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004532/0.2798, allocations: 283.9 kB / 373.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2798, allocations: 0.5938 kB / 373.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.2799, allocations: 66.17 kB / 373.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.2805, allocations: 73.45 kB / 374 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2816, allocations: 0.6759 MB / 374.6 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2818, allocations: 0.7697 MB / 375.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.2819, allocations: 22 kB / 375.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2819, allocations: 0 / 375.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of Templates: time 0.007665/0.2896, allocations: 3.855 MB / 379.3 MB, free: 18.26 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches