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.001758/0.001758, allocations: 77.45 kB / 21.25 MB, free: 0.5391 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.002192/0.002192, allocations: 151.5 kB / 24.5 MB, free: 3.715 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.527/1.527, allocations: 173.4 MB / 201.1 MB, free: 12.68 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.002495/0.002495, allocations: 51.08 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1283, allocations: 52.17 MB / 371.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003098/0.1314, allocations: 1.757 MB / 373.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.1371, allocations: 3.287 MB / 376.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1373, allocations: 15.81 kB / 376.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.1377, allocations: 131.4 kB / 376.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1378, allocations: 35.64 kB / 376.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.1421, allocations: 1.766 MB / 378.6 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1427, allocations: 315.1 kB / 378.9 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1428, allocations: 20.98 kB / 378.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.143, allocations: 115.6 kB / 379 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1432, allocations: 103.4 kB / 379.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1432, allocations: 12 kB / 379.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.1436, allocations: 175.6 kB / 379.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1437, allocations: 75.69 kB / 379.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1438, allocations: 79.47 kB / 379.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.1443, allocations: 346.7 kB / 379.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1443, allocations: 0 / 379.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1443, allocations: 0 / 379.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1443, allocations: 0 / 379.8 MB, free: 15.09 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.0008754/0.1452, allocations: 0.5279 MB / 380.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1452, allocations: 8.922 kB / 380.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.1453, allocations: 32.75 kB / 380.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.1457, allocations: 226.3 kB / 380.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1457, allocations: 12 kB / 380.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.1457, allocations: 12 kB / 380.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.1462, allocations: 437.5 kB / 381 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1462, allocations: 0 / 381 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1462, allocations: 4 kB / 381 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1462, allocations: 7.938 kB / 381 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1464, allocations: 83.94 kB / 381.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.1472, allocations: 408 kB / 381.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1475, allocations: 166.1 kB / 381.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1476, allocations: 64.81 kB / 381.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1476, allocations: 0 / 381.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1476, allocations: 38.56 kB / 381.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.1476, allocations: 3.938 kB / 381.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004724/0.1481, allocations: 217.4 kB / 382 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.1483, allocations: 298.9 kB / 382.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.1486, allocations: 276.5 kB / 382.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.1486, allocations: 33.7 kB / 382.6 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1487, allocations: 156.6 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.1488, allocations: 63.48 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.1489, allocations: 61.64 kB / 382.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.149, allocations: 338.8 kB / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1492, allocations: 95.94 kB / 383.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.1496, allocations: 411.8 kB / 383.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1499, allocations: 206 kB / 383.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1499, allocations: 4 kB / 383.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004785/0.1504, allocations: 309.3 kB / 384.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1504, allocations: 8 kB / 384.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.1504, allocations: 7.984 kB / 384.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1505, allocations: 4 kB / 384.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.1507, allocations: 43.97 kB / 384.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1507, allocations: 11.88 kB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1508, allocations: 23.81 kB / 384.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1509, allocations: 8 kB / 384.3 MB, free: 10.16 MB / 350.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.000133/0.151, allocations: 145.8 kB / 384.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.151, allocations: 27.81 kB / 384.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.1511, allocations: 29.89 kB / 384.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1511, allocations: 8 kB / 384.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1511, allocations: 3.938 kB / 384.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1511, allocations: 0 / 384.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1514, allocations: 201.2 kB / 384.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1514, allocations: 0 / 384.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1515, allocations: 27.92 kB / 384.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1515, allocations: 0 / 384.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1515, allocations: 4 kB / 384.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1515, allocations: 0 / 384.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1516, allocations: 0 / 384.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.152, allocations: 343.1 kB / 385.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.1521, allocations: 27.75 kB / 385.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1521, allocations: 7.984 kB / 385.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1522, allocations: 8.062 kB / 385.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1523, allocations: 11.92 kB / 385.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1523, allocations: 7.984 kB / 385.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1525, allocations: 191.2 kB / 385.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1525, allocations: 3.938 kB / 385.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1528, allocations: 83.8 kB / 385.4 MB, free: 9 MB / 350.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.0002249/0.153, allocations: 139.2 kB / 385.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.1535, allocations: 276.9 kB / 385.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1535, allocations: 0 / 385.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.1536, allocations: 63.41 kB / 385.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1541, allocations: 75.14 kB / 385.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.1551, allocations: 0.5593 MB / 386.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.1552, allocations: 161.8 kB / 386.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1553, allocations: 49.89 kB / 386.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.1554, allocations: 24.5 kB / 386.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1554, allocations: 0 / 386.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of Templates: time 0.008415/0.1638, allocations: 4 MB / 390.7 MB, free: 3.668 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 -s ida -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: 4.581341125885956]