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.001355/0.001355, allocations: 107.1 kB / 20.44 MB, free: 1.355 MB / 14.72 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.00153/0.00153, allocations: 210.2 kB / 23.73 MB, free: 4.531 MB / 14.72 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 1.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001599/0.001599, allocations: 51.91 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2283, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002923/0.2312, allocations: 1.769 MB / 433.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00575/0.237, allocations: 3.332 MB / 436.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2371, allocations: 11.88 kB / 436.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.2376, allocations: 135.3 kB / 436.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2377, allocations: 43.64 kB / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.242, allocations: 1.775 MB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.2424, allocations: 323.1 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2425, allocations: 16.94 kB / 439 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.2427, allocations: 119.6 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.2429, allocations: 111.4 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.2429, allocations: 15.94 kB / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.2432, allocations: 179.6 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2434, allocations: 79.75 kB / 439.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2435, allocations: 79.47 kB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.2439, allocations: 345.3 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.244, allocations: 3.984 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.244, allocations: 0 / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.244, allocations: 0 / 439.9 MB, free: 14.41 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.000935/0.2449, allocations: 0.5124 MB / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2449, allocations: 8.031 kB / 440.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.245, allocations: 32.75 kB / 440.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.2455, allocations: 230.5 kB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2455, allocations: 8.562 kB / 440.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.2456, allocations: 19.89 kB / 440.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.246, allocations: 439.1 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.246, allocations: 4 kB / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2461, allocations: 0 / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2461, allocations: 4 kB / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.2463, allocations: 87.88 kB / 441.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.2471, allocations: 412.3 kB / 441.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.2474, allocations: 162.4 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2476, allocations: 64.81 kB / 441.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.2476, allocations: 3.938 kB / 441.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.2476, allocations: 38.56 kB / 441.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2476, allocations: 0 / 441.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004908/0.2481, allocations: 217.4 kB / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.2483, allocations: 294.8 kB / 442.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.2486, allocations: 276.6 kB / 442.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2486, allocations: 29.7 kB / 442.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.2488, allocations: 160.4 kB / 442.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.2488, allocations: 55.58 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2489, allocations: 57.7 kB / 442.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2491, allocations: 346.7 kB / 443.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2493, allocations: 95.94 kB / 443.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.2497, allocations: 411.8 kB / 443.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.25, allocations: 213.9 kB / 444 MB, free: 9.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.25, allocations: 0 / 444 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005066/0.2505, allocations: 301.4 kB / 444.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2505, allocations: 4 kB / 444.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.2506, allocations: 11.98 kB / 444.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2506, allocations: 0 / 444.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.2509, allocations: 47.97 kB / 444.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2509, allocations: 3.938 kB / 444.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.251, allocations: 31.77 kB / 444.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.251, allocations: 11.94 kB / 444.4 MB, free: 9.508 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.000149/0.2511, allocations: 145.8 kB / 444.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.2512, allocations: 27.81 kB / 444.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.2513, allocations: 29.91 kB / 444.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2513, allocations: 4 kB / 444.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2513, allocations: 0 / 444.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2513, allocations: 0 / 444.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.2515, allocations: 201.1 kB / 444.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2515, allocations: 112 / 444.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.2517, allocations: 31.86 kB / 444.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2517, allocations: 0 / 444.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2517, allocations: 8 kB / 444.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2517, allocations: 0 / 444.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2517, allocations: 0 / 444.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.2522, allocations: 344.9 kB / 445.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2523, allocations: 27.75 kB / 445.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.2523, allocations: 12.05 kB / 445.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2524, allocations: 4 kB / 445.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2525, allocations: 16.06 kB / 445.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2525, allocations: 8.062 kB / 445.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.2527, allocations: 191.1 kB / 445.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2527, allocations: 0 / 445.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.253, allocations: 79.86 kB / 445.5 MB, free: 8.352 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.0002522/0.2533, allocations: 147 kB / 445.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.2537, allocations: 276.9 kB / 445.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2537, allocations: 0 / 445.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2539, allocations: 59.91 kB / 446 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.2544, allocations: 72.53 kB / 446 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2554, allocations: 0.5479 MB / 446.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.2555, allocations: 161.8 kB / 446.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.2556, allocations: 49.89 kB / 446.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.2557, allocations: 23.44 kB / 446.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2557, allocations: 0 / 446.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of Templates: time 0.008409/0.2641, allocations: 4.236 MB / 451 MB, free: 2.785 MB / 350.1 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.571671077050269]