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.00134/0.00134, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 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.001501/0.001501, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.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.002066/0.002066, allocations: 64.08 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2971, allocations: 53.4 MB / 431.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003759/0.3008, allocations: 1.776 MB / 433.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.3071, allocations: 3.316 MB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.3073, allocations: 11.88 kB / 436.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.3078, allocations: 139.3 kB / 436.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.3079, allocations: 39.7 kB / 436.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.313, allocations: 1.772 MB / 438.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.3135, allocations: 315.1 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3136, allocations: 20.94 kB / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.3138, allocations: 123.5 kB / 439.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.314, allocations: 111.4 kB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.314, allocations: 12 kB / 439.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.3143, allocations: 171.7 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3144, allocations: 75.75 kB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.3145, allocations: 83.41 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.315, allocations: 353.3 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.315, allocations: 0 / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.315, allocations: 0 / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.315, allocations: 0 / 439.9 MB, free: 14.2 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.0008645/0.3159, allocations: 0.5085 MB / 440.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3159, allocations: 15.98 kB / 440.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.316, allocations: 28.75 kB / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.3164, allocations: 226.5 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3164, allocations: 12.55 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.3165, allocations: 23.89 kB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.3169, allocations: 440.8 kB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3169, allocations: 4 kB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.317, allocations: 8 kB / 441.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.317, allocations: 3.938 kB / 441.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.3172, allocations: 87.88 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.3179, allocations: 404.3 kB / 441.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.3183, allocations: 154.5 kB / 441.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3184, allocations: 60.91 kB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3184, allocations: 11.94 kB / 441.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3184, allocations: 34.56 kB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.3184, allocations: 0 / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004826/0.3189, allocations: 220.8 kB / 442.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.3191, allocations: 290.7 kB / 442.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.3194, allocations: 276.6 kB / 442.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3194, allocations: 33.7 kB / 442.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3196, allocations: 156.4 kB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.3196, allocations: 51.58 kB / 442.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.3197, allocations: 65.64 kB / 443 MB, free: 10.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3199, allocations: 346.7 kB / 443.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.32, allocations: 99.94 kB / 443.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.3204, allocations: 404.5 kB / 443.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.3208, allocations: 213.5 kB / 444 MB, free: 9.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3208, allocations: 0 / 444 MB, free: 9.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004853/0.3212, allocations: 301.3 kB / 444.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3213, allocations: 4 kB / 444.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.3213, allocations: 7.984 kB / 444.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3213, allocations: 4 kB / 444.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.3216, allocations: 47.97 kB / 444.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3216, allocations: 0 / 444.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3217, allocations: 31.77 kB / 444.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.3217, allocations: 11.94 kB / 444.4 MB, free: 9.309 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.0001417/0.3219, allocations: 145.8 kB / 444.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.3219, allocations: 31.81 kB / 444.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.322, allocations: 30.02 kB / 444.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.322, allocations: 7.922 kB / 444.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.322, allocations: 8 kB / 444.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.322, allocations: 3.984 kB / 444.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3223, allocations: 201.1 kB / 444.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3223, allocations: 96 / 444.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.3225, allocations: 31.86 kB / 444.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3225, allocations: 0 / 444.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.3225, allocations: 4 kB / 444.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3225, allocations: 4 kB / 444.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3225, allocations: 0 / 444.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.323, allocations: 331.2 kB / 445.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.323, allocations: 31.8 kB / 445.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.3231, allocations: 8.062 kB / 445.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3232, allocations: 4 kB / 445.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3232, allocations: 15.97 kB / 445.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3233, allocations: 4 kB / 445.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3234, allocations: 195 kB / 445.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3234, allocations: 0 / 445.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003547/0.3238, allocations: 83.86 kB / 445.5 MB, free: 8.137 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.0002547/0.3241, allocations: 139 kB / 445.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.3245, allocations: 277.3 kB / 445.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3245, allocations: 0 / 445.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3247, allocations: 59.91 kB / 446 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.3252, allocations: 85 kB / 446.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3262, allocations: 0.5517 MB / 446.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.3264, allocations: 161.8 kB / 446.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.3265, allocations: 50.03 kB / 446.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.3266, allocations: 23.38 kB / 446.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3266, allocations: 0 / 446.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of Templates: time 0.009332/0.3359, allocations: 4.172 MB / 451 MB, free: 2.617 MB / 350.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 -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/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_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.6992169208824635]