Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5003,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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 47.92 kB / 371.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2478, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003071/0.2508, allocations: 1.775 MB / 425.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.2566, allocations: 3.273 MB / 428.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.2568, allocations: 19.81 kB / 428.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.2573, allocations: 139.4 kB / 429 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.2574, allocations: 35.66 kB / 429 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.2616, allocations: 1.767 MB / 430.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.2621, allocations: 311.1 kB / 431.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2622, allocations: 20.92 kB / 431.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.2624, allocations: 111.6 kB / 431.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2626, allocations: 107.4 kB / 431.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.2626, allocations: 12 kB / 431.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.2629, allocations: 167.7 kB / 431.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2631, allocations: 83.67 kB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.2632, allocations: 79.42 kB / 431.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.2636, allocations: 346.3 kB / 432 MB, free: 6.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2636, allocations: 0 / 432 MB, free: 6.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2636, allocations: 4 kB / 432 MB, free: 6.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2636, allocations: 3.938 kB / 432 MB, free: 6.262 MB / 334.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.0008877/0.2645, allocations: 0.5115 MB / 432.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2645, allocations: 12.03 kB / 432.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.575e-05/0.2646, allocations: 32.75 kB / 432.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.2651, allocations: 234.2 kB / 432.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2651, allocations: 11.98 kB / 432.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.2651, allocations: 16 kB / 432.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.2656, allocations: 431.3 kB / 433.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2656, allocations: 0 / 433.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.2656, allocations: 8 kB / 433.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.2656, allocations: 3.938 kB / 433.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.2658, allocations: 91.88 kB / 433.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007627/0.2666, allocations: 404.1 kB / 433.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.2669, allocations: 166.5 kB / 433.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.267, allocations: 60.86 kB / 434 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.267, allocations: 0 / 434 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2671, allocations: 42.55 kB / 434 MB, free: 4.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.2671, allocations: 0 / 434 MB, free: 4.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004833/0.2676, allocations: 221.2 kB / 434.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.2677, allocations: 290.9 kB / 434.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.2681, allocations: 284.6 kB / 434.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2681, allocations: 33.64 kB / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2682, allocations: 152.5 kB / 435 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.2683, allocations: 63.45 kB / 435 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.2684, allocations: 61.64 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2685, allocations: 338.8 kB / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.2687, allocations: 99.94 kB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.2691, allocations: 411.8 kB / 435.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.2695, allocations: 202 kB / 436.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2695, allocations: 4 kB / 436.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005112/0.27, allocations: 309.3 kB / 436.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.27, allocations: 4 kB / 436.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.27, allocations: 7.984 kB / 436.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.27, allocations: 0 / 436.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.2703, allocations: 47.97 kB / 436.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2703, allocations: 3.938 kB / 436.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2704, allocations: 31.81 kB / 436.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.2705, allocations: 4 kB / 436.5 MB, free: 1.367 MB / 334.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.0001586/0.2706, allocations: 149.8 kB / 436.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.2707, allocations: 27.81 kB / 436.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.2707, allocations: 29.91 kB / 436.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2707, allocations: 0 / 436.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2707, allocations: 3.938 kB / 436.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2707, allocations: 0 / 436.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.271, allocations: 201.1 kB / 436.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.271, allocations: 0 / 436.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.2712, allocations: 35.92 kB / 437 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.2712, allocations: 7.984 kB / 437 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2712, allocations: 0 / 437 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2712, allocations: 0 / 437 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2712, allocations: 4.094 kB / 437 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.2717, allocations: 339.1 kB / 437.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.2718, allocations: 23.81 kB / 437.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.2718, allocations: 7.984 kB / 437.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2719, allocations: 8.062 kB / 437.3 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.272, allocations: 15.92 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.272, allocations: 7.938 kB / 437.4 MB, free: 472 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.2722, allocations: 203 kB / 437.6 MB, free: 272 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2722, allocations: 0 / 437.6 MB, free: 272 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.2726, allocations: 75.86 kB / 437.6 MB, free: 196 kB / 334.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.0002627/0.2728, allocations: 139.1 kB / 437.8 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.2733, allocations: 273.1 kB / 438 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2733, allocations: 0 / 438 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.2735, allocations: 67.89 kB / 438.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.2739, allocations: 80.78 kB / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.275, allocations: 0.5884 MB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2752, allocations: 173.6 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.2753, allocations: 19.44 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2753, allocations: 0 / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Templates: time 0.006831/0.2821, allocations: 3.976 MB / 442.9 MB, free: 10.81 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.857639342080802]