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.001444/0.001444, allocations: 123.4 kB / 18.46 MB, free: 4.578 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.001454/0.001454, allocations: 192.3 kB / 21.4 MB, free: 1.648 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.393/1.393, allocations: 225.6 MB / 249.8 MB, free: 3.48 MB / 190.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.001488/0.001488, allocations: 51.92 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09692, allocations: 52.14 MB / 418.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002938/0.09986, allocations: 1.834 MB / 420.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.1052, allocations: 3.53 MB / 424.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1053, allocations: 7.938 kB / 424.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.1057, allocations: 135.3 kB / 424.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1058, allocations: 31.7 kB / 424.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.1096, allocations: 1.784 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.11, allocations: 299.2 kB / 426.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1101, allocations: 28.73 kB / 426.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1103, allocations: 111.5 kB / 426.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.1105, allocations: 107.4 kB / 426.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.1105, allocations: 12 kB / 426.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.1108, allocations: 147.7 kB / 426.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1109, allocations: 79.69 kB / 427 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.111, allocations: 95.34 kB / 427.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.1114, allocations: 342.5 kB / 427.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1114, allocations: 4 kB / 427.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.1114, allocations: 0 / 427.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1114, allocations: 0 / 427.5 MB, free: 3.562 MB / 350.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.0008502/0.1123, allocations: 0.5876 MB / 428 MB, free: 2.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1123, allocations: 8.031 kB / 428.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.1124, allocations: 36.73 kB / 428.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.1128, allocations: 292.1 kB / 428.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1128, allocations: 12 kB / 428.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.1128, allocations: 12 kB / 428.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1132, allocations: 210.1 kB / 428.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1132, allocations: 0 / 428.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1132, allocations: 0 / 428.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1132, allocations: 7.938 kB / 428.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1134, allocations: 83.94 kB / 428.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/0.1142, allocations: 492.4 kB / 429.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.1145, allocations: 162.5 kB / 429.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1146, allocations: 56.83 kB / 429.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1146, allocations: 3.938 kB / 429.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1146, allocations: 42.59 kB / 429.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1146, allocations: 0 / 429.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004929/0.1151, allocations: 225.5 kB / 429.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.1153, allocations: 286.7 kB / 429.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.1156, allocations: 284.5 kB / 430.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1156, allocations: 29.7 kB / 430.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1157, allocations: 152.6 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.1158, allocations: 59.47 kB / 430.4 MB, free: 292 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.1159, allocations: 61.69 kB / 430.5 MB, free: 224 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.116, allocations: 342.8 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1162, allocations: 95.94 kB / 430.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.1165, allocations: 177.2 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.1168, allocations: 217.4 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1168, allocations: 0 / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004798/0.1173, allocations: 309.3 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1173, allocations: 4 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.1173, allocations: 4 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1173, allocations: 3.938 kB / 431.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.1176, allocations: 51.95 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1176, allocations: 0 / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1177, allocations: 19.89 kB / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1177, allocations: 8 kB / 431.7 MB, free: 14.96 MB / 366.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.0001467/0.1179, allocations: 161.7 kB / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1179, allocations: 31.8 kB / 431.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.118, allocations: 25.98 kB / 431.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.118, allocations: 3.938 kB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.118, allocations: 3.984 kB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.118, allocations: 0 / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.1183, allocations: 273.5 kB / 432.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1183, allocations: 0 / 432.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1185, allocations: 23.98 kB / 432.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1185, allocations: 4 kB / 432.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1185, allocations: 7.984 kB / 432.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1185, allocations: 11.88 kB / 432.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1185, allocations: 0 / 432.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.119, allocations: 327.3 kB / 432.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.1191, allocations: 100.9 kB / 432.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.1191, allocations: 16.05 kB / 432.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1192, allocations: 11.94 kB / 432.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1193, allocations: 8.078 kB / 432.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.1193, allocations: 7.938 kB / 432.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.1195, allocations: 199.1 kB / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1195, allocations: 0 / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.1198, allocations: 71.88 kB / 433 MB, free: 13.61 MB / 366.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.0002515/0.1201, allocations: 162.5 kB / 433.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.1205, allocations: 273.3 kB / 433.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1205, allocations: 0 / 433.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1207, allocations: 63.91 kB / 433.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.1211, allocations: 80.09 kB / 433.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1222, allocations: 0.5838 MB / 434.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1226, allocations: 0.7712 MB / 434.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.1226, allocations: 19.44 kB / 434.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1226, allocations: 0 / 434.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of Templates: time 0.006383/0.129, allocations: 3.907 MB / 438.8 MB, free: 7.676 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.47535217506811]