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.00111/0.00111, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 55.59 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002915/0.1116, allocations: 1.83 MB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.117, allocations: 3.551 MB / 364.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1171, allocations: 11.81 kB / 364.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.1175, allocations: 131.4 kB / 364.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.1176, allocations: 39.66 kB / 364.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.1214, allocations: 1.769 MB / 366.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.1218, allocations: 311.1 kB / 366.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1219, allocations: 28.73 kB / 366.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1221, allocations: 115.6 kB / 366.7 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1222, allocations: 107.3 kB / 366.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.1223, allocations: 19.94 kB / 366.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.1225, allocations: 143.7 kB / 366.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1226, allocations: 63.81 kB / 367 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1228, allocations: 107.3 kB / 367.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.1231, allocations: 330.9 kB / 367.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1232, allocations: 0 / 367.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1232, allocations: 0 / 367.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1232, allocations: 0 / 367.4 MB, free: 4.777 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.0008379/0.124, allocations: 0.584 MB / 368 MB, free: 4.145 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1241, allocations: 12.03 kB / 368 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1241, allocations: 32.66 kB / 368.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1245, allocations: 288.1 kB / 368.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1246, allocations: 12.56 kB / 368.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1246, allocations: 19.92 kB / 368.4 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.125, allocations: 202.1 kB / 368.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1251, allocations: 0 / 368.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1251, allocations: 4 kB / 368.6 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1251, allocations: 7.984 kB / 368.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1253, allocations: 91.81 kB / 368.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.126, allocations: 488.5 kB / 369.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.1263, allocations: 170.4 kB / 369.3 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1265, allocations: 56.83 kB / 369.4 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1265, allocations: 4 kB / 369.4 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1265, allocations: 38.56 kB / 369.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1265, allocations: 0 / 369.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004245/0.127, allocations: 225 kB / 369.6 MB, free: 2.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/0.1271, allocations: 286.7 kB / 369.9 MB, free: 2.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1274, allocations: 280.5 kB / 370.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1274, allocations: 29.7 kB / 370.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.1275, allocations: 164.4 kB / 370.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.1276, allocations: 47.27 kB / 370.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.1277, allocations: 65.8 kB / 370.5 MB, free: 1.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1278, allocations: 338.8 kB / 370.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.128, allocations: 99.94 kB / 370.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1282, allocations: 181.5 kB / 371.1 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.1285, allocations: 213.5 kB / 371.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1285, allocations: 0 / 371.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004643/0.129, allocations: 297.3 kB / 371.6 MB, free: 284 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.129, allocations: 7.984 kB / 371.6 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.1291, allocations: 4 kB / 371.6 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1291, allocations: 0 / 371.6 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.1293, allocations: 59.91 kB / 371.7 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1294, allocations: 0 / 371.7 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1295, allocations: 35.61 kB / 371.7 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.1295, allocations: 4 kB / 371.7 MB, free: 172 kB / 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.0002117/0.1297, allocations: 153.8 kB / 371.8 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1808/0.3106, allocations: 24.08 kB / 371.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.3107, allocations: 24.98 kB / 371.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3108, allocations: 2.828 kB / 371.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3108, allocations: 1.625 kB / 371.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3108, allocations: 1.969 kB / 371.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.3113, allocations: 270 kB / 372.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3113, allocations: 2.281 kB / 372.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3115, allocations: 26.47 kB / 372.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3115, allocations: 1.25 kB / 372.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.3116, allocations: 7.328 kB / 372.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3116, allocations: 0.625 kB / 372.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3116, allocations: 1.359 kB / 372.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.3121, allocations: 338.2 kB / 372.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.3122, allocations: 101.3 kB / 372.6 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.3123, allocations: 10.39 kB / 372.6 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3124, allocations: 9.719 kB / 372.7 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.3125, allocations: 10.34 kB / 372.7 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3125, allocations: 2.922 kB / 372.7 MB, free: 20.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.3127, allocations: 196 kB / 372.9 MB, free: 20.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3127, allocations: 1.125 kB / 372.9 MB, free: 20.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.3132, allocations: 76.69 kB / 372.9 MB, free: 20.41 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.0002699/0.3134, allocations: 151.5 kB / 373.1 MB, free: 20.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.3139, allocations: 286.5 kB / 373.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.314, allocations: 1.125 kB / 373.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3141, allocations: 60.45 kB / 373.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3146, allocations: 79.61 kB / 373.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3157, allocations: 0.5489 MB / 374 MB, free: 19.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.3159, allocations: 0.7679 MB / 374.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.3161, allocations: 55.95 kB / 374.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.3162, allocations: 22.22 kB / 374.9 MB, free: 19.26 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3162, allocations: 0 / 374.9 MB, free: 19.26 MB / 302.1 MB Notification: Performance of Templates: time 0.008742/0.3249, allocations: 3.726 MB / 378.6 MB, free: 19.09 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 -s cvode -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