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.001309/0.001309, allocations: 106.1 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.001315/0.001315, allocations: 186.4 kB / 19.33 MB, free: 3.758 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.418/1.418, 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.001424/0.001425, allocations: 47.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09523, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003662/0.09894, allocations: 1.807 MB / 377.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1958/0.2947, allocations: 3.543 MB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.2951, allocations: 5.781 kB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.2956, allocations: 130.8 kB / 381.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.2958, allocations: 40.45 kB / 381.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005399/0.3012, allocations: 1.772 MB / 383.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000657/0.3019, allocations: 306 kB / 383.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3021, allocations: 32.91 kB / 383.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.3023, allocations: 111.6 kB / 383.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.3026, allocations: 99.77 kB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.3026, allocations: 12.34 kB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.303, allocations: 147.2 kB / 383.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3032, allocations: 71.17 kB / 383.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3033, allocations: 101.1 kB / 384 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.304, allocations: 343.3 kB / 384.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.304, allocations: 0 / 384.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.304, allocations: 5.469 kB / 384.3 MB, free: 9.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.3041, allocations: 0 / 384.3 MB, free: 9.391 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.001058/0.3051, allocations: 0.5723 MB / 384.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3052, allocations: 9.406 kB / 384.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3053, allocations: 31.5 kB / 384.9 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.3058, allocations: 285.9 kB / 385.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3058, allocations: 15.88 kB / 385.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.3059, allocations: 13.09 kB / 385.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.3062, allocations: 208.8 kB / 385.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3063, allocations: 0 / 385.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3063, allocations: 6.5 kB / 385.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3063, allocations: 2.219 kB / 385.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.3065, allocations: 86.38 kB / 385.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.3074, allocations: 0.491 MB / 386 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.3077, allocations: 172.2 kB / 386.2 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3078, allocations: 57.94 kB / 386.2 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.3078, allocations: 2.734 kB / 386.2 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3078, allocations: 40.44 kB / 386.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.3079, allocations: 0 / 386.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004661/0.3083, allocations: 214.1 kB / 386.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.3084, allocations: 292.3 kB / 386.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.3087, allocations: 282.1 kB / 387 MB, free: 7.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3087, allocations: 32.83 kB / 387.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.3088, allocations: 152.4 kB / 387.2 MB, free: 7.301 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.3089, allocations: 50.38 kB / 387.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/0.309, allocations: 60.12 kB / 387.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.309, allocations: 343.2 kB / 387.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.3092, allocations: 102.1 kB / 387.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.3095, allocations: 181.8 kB / 387.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.3098, allocations: 208.4 kB / 388.2 MB, free: 6.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3098, allocations: 3.938 kB / 388.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005004/0.3103, allocations: 309.8 kB / 388.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3104, allocations: 6.016 kB / 388.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.3104, allocations: 8.812 kB / 388.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3104, allocations: 2.219 kB / 388.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.3107, allocations: 46.69 kB / 388.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3107, allocations: 1.25 kB / 388.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.3109, allocations: 30.91 kB / 388.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.3109, allocations: 13.42 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.0001255/0.311, allocations: 146.4 kB / 388.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.3111, allocations: 32.03 kB / 388.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.3111, allocations: 26.73 kB / 388.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3112, allocations: 2.688 kB / 388.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3112, allocations: 0 / 388.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3112, allocations: 1.891 kB / 388.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.3115, allocations: 271.8 kB / 389 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3115, allocations: 3.938 kB / 389 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.3116, allocations: 30.67 kB / 389.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3116, allocations: 5.469 kB / 389.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3117, allocations: 4.125 kB / 389.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3117, allocations: 0.6562 kB / 389.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3117, allocations: 1.469 kB / 389.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.3122, allocations: 331.8 kB / 389.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.3122, allocations: 101 kB / 389.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.3123, allocations: 13.39 kB / 389.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3124, allocations: 14.91 kB / 389.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.3125, allocations: 7.469 kB / 389.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3125, allocations: 3.281 kB / 389.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002773/0.3128, allocations: 202.3 kB / 389.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3128, allocations: 0 / 389.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005089/0.3133, allocations: 81.53 kB / 389.8 MB, free: 5.652 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.0002725/0.3136, allocations: 140.5 kB / 390 MB, free: 5.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.314, allocations: 282.1 kB / 390.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3141, allocations: 5.125 kB / 390.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3142, allocations: 66.78 kB / 390.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.3147, allocations: 68.03 kB / 390.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3158, allocations: 0.5829 MB / 391 MB, free: 5.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3161, allocations: 0.7742 MB / 391.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.3161, allocations: 21.81 kB / 391.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.3161, allocations: 0 / 391.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of Templates: time 0.008932/0.3251, allocations: 3.88 MB / 395.6 MB, free: 3.852 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