Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 106 kB / 18.4 MB, free: 4.68 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.001651/0.001651, allocations: 186.5 kB / 19.33 MB, free: 3.762 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.323/1.323, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001267/0.001267, allocations: 59.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07742/0.0787, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002911/0.08164, allocations: 1.823 MB / 377.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1581/0.2398, allocations: 3.538 MB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.24, allocations: 9.375 kB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.2404, allocations: 128.5 kB / 381.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.2405, allocations: 36.44 kB / 381.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.2441, allocations: 1.784 MB / 383.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.2445, allocations: 302.1 kB / 383.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2446, allocations: 27.58 kB / 383.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2448, allocations: 115.8 kB / 383.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2449, allocations: 104.6 kB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.245, allocations: 13.03 kB / 383.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.2453, allocations: 141.9 kB / 383.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.2454, allocations: 69.73 kB / 383.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.201e-05/0.2455, allocations: 101.4 kB / 384 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.2458, allocations: 343.1 kB / 384.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2459, allocations: 1.25 kB / 384.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2459, allocations: 0 / 384.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2459, allocations: 0 / 384.3 MB, free: 9.395 MB / 318.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.0007425/0.2466, allocations: 0.5784 MB / 384.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2467, allocations: 10.05 kB / 384.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.2467, allocations: 31.81 kB / 384.9 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.2471, allocations: 280.7 kB / 385.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2471, allocations: 12.27 kB / 385.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.2471, allocations: 19.44 kB / 385.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.2474, allocations: 204.4 kB / 385.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.2475, allocations: 0 / 385.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.2475, allocations: 14.53 kB / 385.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2475, allocations: 2.531 kB / 385.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.2477, allocations: 88.78 kB / 385.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.2484, allocations: 493.4 kB / 386 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.2487, allocations: 169.8 kB / 386.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.2488, allocations: 60.55 kB / 386.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.2488, allocations: 1.469 kB / 386.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.2489, allocations: 34.7 kB / 386.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2489, allocations: 3.938 kB / 386.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004136/0.2493, allocations: 210.4 kB / 386.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.2494, allocations: 294.9 kB / 386.8 MB, free: 7.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.2496, allocations: 280 kB / 387 MB, free: 7.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2497, allocations: 34.05 kB / 387.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.2497, allocations: 154.3 kB / 387.2 MB, free: 7.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.2498, allocations: 49.33 kB / 387.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.2499, allocations: 58.61 kB / 387.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.2499, allocations: 344.7 kB / 387.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.2501, allocations: 101 kB / 387.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.2503, allocations: 188.6 kB / 388 MB, free: 6.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.2506, allocations: 209.4 kB / 388.2 MB, free: 6.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2506, allocations: 0 / 388.2 MB, free: 6.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004614/0.2511, allocations: 302.1 kB / 388.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2511, allocations: 13.83 kB / 388.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.2512, allocations: 8.172 kB / 388.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2512, allocations: 1.844 kB / 388.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.2515, allocations: 51.41 kB / 388.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2515, allocations: 1.844 kB / 388.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2516, allocations: 26.75 kB / 388.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.2516, allocations: 10.75 kB / 388.6 MB, free: 6.527 MB / 318.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.0001021/0.2517, allocations: 145.9 kB / 388.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.2518, allocations: 35.95 kB / 388.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.2518, allocations: 27.67 kB / 388.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2518, allocations: 2.891 kB / 388.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2518, allocations: 1.5 kB / 388.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2518, allocations: 0.6562 kB / 388.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.2521, allocations: 271.7 kB / 389 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2521, allocations: 0 / 389 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.2523, allocations: 26.34 kB / 389.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2523, allocations: 1.688 kB / 389.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2523, allocations: 7.562 kB / 389.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2523, allocations: 9.125 kB / 389.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2523, allocations: 4.594 kB / 389.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.2528, allocations: 332 kB / 389.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.2528, allocations: 100.4 kB / 389.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.2529, allocations: 9.969 kB / 389.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.253, allocations: 7.562 kB / 389.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.2531, allocations: 10.86 kB / 389.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2531, allocations: 6.969 kB / 389.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.2533, allocations: 197.8 kB / 389.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2533, allocations: 1.094 kB / 389.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.2537, allocations: 83.11 kB / 389.8 MB, free: 5.648 MB / 318.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.0001956/0.2539, allocations: 140.1 kB / 390 MB, free: 5.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.2543, allocations: 278.1 kB / 390.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2543, allocations: 9.219 kB / 390.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.2544, allocations: 69.31 kB / 390.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.2549, allocations: 70.03 kB / 390.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.2558, allocations: 0.5811 MB / 391 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.256, allocations: 0.7735 MB / 391.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.2561, allocations: 21.62 kB / 391.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2561, allocations: 0 / 391.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of Templates: time 0.006217/0.2623, allocations: 3.902 MB / 395.7 MB, free: 3.848 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches