Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002635/0.002635, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.611/1.611, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 58.19 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1265, allocations: 53.4 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003069/0.1295, allocations: 1.775 MB / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005939/0.1355, allocations: 3.324 MB / 384 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1356, allocations: 15.81 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.136, allocations: 139.4 kB / 384.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.1361, allocations: 35.66 kB / 384.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004591/0.1407, allocations: 1.773 MB / 386 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.1412, allocations: 311.1 kB / 386.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.1413, allocations: 20.94 kB / 386.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1415, allocations: 119.5 kB / 386.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1417, allocations: 111.4 kB / 386.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.1417, allocations: 12 kB / 386.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.142, allocations: 171.7 kB / 386.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1421, allocations: 75.69 kB / 386.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.1422, allocations: 79.47 kB / 386.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1427, allocations: 346.5 kB / 387.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1427, allocations: 7.984 kB / 387.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1427, allocations: 0 / 387.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1427, allocations: 0 / 387.2 MB, free: 7.184 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.0007372/0.1434, allocations: 0.5123 MB / 387.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.1434, allocations: 15.98 kB / 387.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.1435, allocations: 28.75 kB / 387.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1439, allocations: 222.7 kB / 388 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1439, allocations: 8.562 kB / 388 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1439, allocations: 27.83 kB / 388 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.1444, allocations: 437.4 kB / 388.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1444, allocations: 0 / 388.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1444, allocations: 8 kB / 388.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1444, allocations: 4 kB / 388.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1446, allocations: 87.88 kB / 388.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.1453, allocations: 408.2 kB / 388.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1456, allocations: 166.4 kB / 389.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1457, allocations: 56.81 kB / 389.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1457, allocations: 3.984 kB / 389.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1458, allocations: 42.59 kB / 389.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1458, allocations: 4 kB / 389.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004417/0.1462, allocations: 217.4 kB / 389.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.1464, allocations: 290.7 kB / 389.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1467, allocations: 276.6 kB / 390 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1467, allocations: 29.7 kB / 390 MB, free: 4.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1468, allocations: 160.4 kB / 390.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.1469, allocations: 51.58 kB / 390.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.1469, allocations: 57.7 kB / 390.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1471, allocations: 346.7 kB / 390.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1473, allocations: 103.9 kB / 390.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.1476, allocations: 407.8 kB / 391.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.148, allocations: 209.5 kB / 391.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.148, allocations: 3.984 kB / 391.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004559/0.1484, allocations: 301.3 kB / 391.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1484, allocations: 4 kB / 391.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.1485, allocations: 7.984 kB / 391.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1485, allocations: 0 / 391.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.1487, allocations: 55.97 kB / 391.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1487, allocations: 0 / 391.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1488, allocations: 27.77 kB / 391.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.1489, allocations: 11.94 kB / 391.7 MB, free: 2.277 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.0001298/0.149, allocations: 149.8 kB / 391.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.1491, allocations: 31.81 kB / 391.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.1491, allocations: 33.91 kB / 391.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1491, allocations: 0 / 391.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1491, allocations: 0 / 391.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1491, allocations: 96 / 391.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1494, allocations: 205.1 kB / 392.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1494, allocations: 0 / 392.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.1495, allocations: 19.98 kB / 392.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1495, allocations: 4.109 kB / 392.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1496, allocations: 7.938 kB / 392.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.1496, allocations: 7.938 kB / 392.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1496, allocations: 0 / 392.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.15, allocations: 331.2 kB / 392.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.1501, allocations: 27.75 kB / 392.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.1501, allocations: 12.05 kB / 392.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1502, allocations: 8 kB / 392.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1503, allocations: 15.97 kB / 392.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.1503, allocations: 4 kB / 392.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.1505, allocations: 191.1 kB / 392.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1505, allocations: 0 / 392.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.1508, allocations: 83.86 kB / 392.8 MB, free: 1.113 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.0002059/0.151, allocations: 135 kB / 392.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.1514, allocations: 281.6 kB / 393.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1514, allocations: 0 / 393.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1515, allocations: 63.78 kB / 393.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.152, allocations: 86.75 kB / 393.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.153, allocations: 0.5481 MB / 393.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.1532, allocations: 161.8 kB / 394.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1533, allocations: 46.03 kB / 394.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.1533, allocations: 28.5 kB / 394.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1533, allocations: 0 / 394.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Templates: time 0.008304/0.1617, allocations: 3.975 MB / 398.1 MB, free: 11.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.801583145977929]