Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008698/0.0008698, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004691/0.004691, allocations: 162.4 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.898/0.898, allocations: 177.2 MB / 205 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.695e-05, allocations: 2.281 kB / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001848/0.001865, allocations: 1.789 MB / 327.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.005844, allocations: 3.327 MB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.005973, allocations: 15.81 kB / 331 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.006368, allocations: 131.3 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.006449, allocations: 47.56 kB / 331.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.009063, allocations: 1.865 MB / 333 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.009371, allocations: 315 kB / 333.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.009498, allocations: 24.91 kB / 333.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.009709, allocations: 151.6 kB / 333.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.009818, allocations: 95.69 kB / 333.6 MB, free: 7.551 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.009844, allocations: 12 kB / 333.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.01006, allocations: 163.7 kB / 333.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.01016, allocations: 83.59 kB / 333.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.01022, allocations: 59.78 kB / 333.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.0106, allocations: 358.9 kB / 334.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.0106, allocations: 0 / 334.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0106, allocations: 0 / 334.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01061, allocations: 0 / 334.2 MB, free: 6.887 MB / 298.7 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.0007082/0.01132, allocations: 0.5085 MB / 334.7 MB, free: 6.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.01136, allocations: 8.031 kB / 334.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.01142, allocations: 32.75 kB / 334.8 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.01174, allocations: 233.7 kB / 335 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.01175, allocations: 8.562 kB / 335 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.01179, allocations: 16.33 kB / 335 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.01214, allocations: 445.1 kB / 335.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01215, allocations: 0 / 335.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.01217, allocations: 4 kB / 335.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.01217, allocations: 4 kB / 335.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.0123, allocations: 79.94 kB / 335.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.01284, allocations: 416.2 kB / 336 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.01305, allocations: 158.6 kB / 336.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/0.01312, allocations: 56.77 kB / 336.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.01313, allocations: 0 / 336.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.01316, allocations: 42.55 kB / 336.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.01316, allocations: 0 / 336.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003231/0.01348, allocations: 213.5 kB / 336.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.01359, allocations: 290.7 kB / 336.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.0138, allocations: 288.5 kB / 337 MB, free: 3.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.01382, allocations: 29.7 kB / 337 MB, free: 3.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.01392, allocations: 156.5 kB / 337.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.01396, allocations: 59.5 kB / 337.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.01403, allocations: 57.7 kB / 337.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.01414, allocations: 342.9 kB / 337.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.01425, allocations: 99.88 kB / 337.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.01448, allocations: 412.4 kB / 338.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.01469, allocations: 209.5 kB / 338.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01469, allocations: 4 kB / 338.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003053/0.015, allocations: 305.3 kB / 338.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01501, allocations: 8 kB / 338.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.01504, allocations: 12.06 kB / 338.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01505, allocations: 3.938 kB / 338.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.0152, allocations: 47.97 kB / 338.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.01521, allocations: 4 kB / 338.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.01527, allocations: 19.84 kB / 338.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01529, allocations: 11.98 kB / 338.7 MB, free: 1.988 MB / 298.7 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.0001065/0.01539, allocations: 153.7 kB / 338.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.01542, allocations: 23.86 kB / 338.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.01546, allocations: 33.89 kB / 338.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01546, allocations: 4 kB / 338.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01546, allocations: 0 / 338.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01547, allocations: 0 / 338.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.01564, allocations: 201.1 kB / 339.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01564, allocations: 4 kB / 339.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.01574, allocations: 27.92 kB / 339.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01574, allocations: 4 kB / 339.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.01576, allocations: 11.98 kB / 339.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01576, allocations: 0 / 339.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01576, allocations: 0 / 339.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.01608, allocations: 334.5 kB / 339.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.0161, allocations: 23.81 kB / 339.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.01613, allocations: 12.05 kB / 339.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.01618, allocations: 4 kB / 339.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.01623, allocations: 15.92 kB / 339.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.01623, allocations: 4 kB / 339.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.01636, allocations: 199.1 kB / 339.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01636, allocations: 4 kB / 339.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.01659, allocations: 75.86 kB / 339.8 MB, free: 0.8242 MB / 298.7 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.0002176/0.01681, allocations: 147 kB / 340 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.01712, allocations: 272.9 kB / 340.2 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01713, allocations: 0 / 340.2 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.0172, allocations: 63.89 kB / 340.3 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.0175, allocations: 86.19 kB / 340.4 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.01826, allocations: 0.5517 MB / 340.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.01837, allocations: 161.8 kB / 341.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.01841, allocations: 24.5 kB / 341.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01841, allocations: 0 / 341.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of Templates: time 0.004423/0.02284, allocations: 4.049 MB / 345.2 MB, free: 11.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.9226270113140345]