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.001041/0.001041, allocations: 107.3 kB / 18.4 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.0009987/0.0009987, allocations: 187.3 kB / 19.34 MB, free: 3.754 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.303/1.303, 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.001368/0.001368, allocations: 47.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09201, allocations: 46.63 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003105/0.09514, allocations: 1.807 MB / 377.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1793/0.2744, allocations: 3.54 MB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.2747, allocations: 9.875 kB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.2751, allocations: 128.4 kB / 381.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2753, allocations: 42.69 kB / 381.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.2796, allocations: 1.767 MB / 383.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.2801, allocations: 305.7 kB / 383.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.2802, allocations: 36.17 kB / 383.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2804, allocations: 111.2 kB / 383.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2805, allocations: 103.6 kB / 383.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.2806, allocations: 12.09 kB / 383.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.2809, allocations: 141.8 kB / 383.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.2811, allocations: 69.3 kB / 383.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2812, allocations: 106 kB / 384 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.2817, allocations: 340 kB / 384.3 MB, free: 9.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2817, allocations: 1.125 kB / 384.3 MB, free: 9.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2817, allocations: 0 / 384.3 MB, free: 9.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2817, allocations: 4 kB / 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.0009185/0.2826, allocations: 0.5745 MB / 384.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.2827, allocations: 9.094 kB / 384.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.2828, allocations: 32.27 kB / 384.9 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.2833, allocations: 286.9 kB / 385.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2833, allocations: 15.25 kB / 385.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.2833, allocations: 14.98 kB / 385.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.2838, allocations: 203.9 kB / 385.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2838, allocations: 5.188 kB / 385.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.2838, allocations: 3.75 kB / 385.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2838, allocations: 1.938 kB / 385.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.2841, allocations: 87.61 kB / 385.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.2849, allocations: 0.4895 MB / 386 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.2853, allocations: 168.6 kB / 386.2 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.2854, allocations: 63.03 kB / 386.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2854, allocations: 0 / 386.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2855, allocations: 33.94 kB / 386.3 MB, free: 8.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2855, allocations: 0 / 386.3 MB, free: 8.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000457/0.2859, allocations: 211.2 kB / 386.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.286, allocations: 294.3 kB / 386.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.2863, allocations: 278.9 kB / 387 MB, free: 7.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2863, allocations: 34.69 kB / 387.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.2864, allocations: 155.8 kB / 387.2 MB, free: 7.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.2864, allocations: 51.23 kB / 387.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/0.2865, allocations: 58.95 kB / 387.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.2866, allocations: 342.9 kB / 387.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2868, allocations: 106.8 kB / 387.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.287, allocations: 181.9 kB / 388 MB, free: 6.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.2873, allocations: 203.8 kB / 388.2 MB, free: 6.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2873, allocations: 0 / 388.2 MB, free: 6.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004455/0.2877, allocations: 316 kB / 388.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2878, allocations: 6.641 kB / 388.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.2878, allocations: 8.641 kB / 388.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2878, allocations: 1.688 kB / 388.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.2881, allocations: 50.09 kB / 388.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.2881, allocations: 1.828 kB / 388.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2883, allocations: 24.2 kB / 388.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.2883, allocations: 7.094 kB / 388.6 MB, free: 6.551 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.0001209/0.2884, allocations: 154.5 kB / 388.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.2885, allocations: 27.16 kB / 388.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.2885, allocations: 31.61 kB / 388.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2885, allocations: 2.297 kB / 388.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2885, allocations: 0 / 388.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.2886, allocations: 96.19 kB / 388.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.2886, allocations: 10.86 kB / 388.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2888, allocations: 16.59 kB / 388.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.2888, allocations: 10.34 kB / 388.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006823/0.2895, allocations: 306.8 kB / 389.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005113/0.29, allocations: 451.9 kB / 389.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001465/0.2902, allocations: 86.12 kB / 389.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.2904, allocations: 193.2 kB / 389.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of Backend: time 5.31e-07/0.2904, allocations: 0 / 389.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000756/0.2912, allocations: 347.2 kB / 390.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of SimCode: time 0.00108/0.2922, allocations: 0.9896 MB / 391.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of Templates: time 0.00833/0.3006, allocations: 4.051 MB / 395.3 MB, free: 4.195 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