Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001977/0.001977, allocations: 92.31 kB / 21.73 MB, free: 2.707 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.002091/0.002091, allocations: 159.3 kB / 25.02 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.682e-05, allocations: 5.969 kB / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003085/0.003111, allocations: 1.761 MB / 252.1 MB, free: 6.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006414/0.009526, allocations: 3.329 MB / 255.4 MB, free: 2.727 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.009649, allocations: 7.875 kB / 255.4 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.01011, allocations: 143.3 kB / 255.6 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.01022, allocations: 39.58 kB / 255.6 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.01468, allocations: 1.874 MB / 257.5 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.01516, allocations: 319 kB / 257.8 MB, free: 360 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.01528, allocations: 20.94 kB / 257.8 MB, free: 336 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.01552, allocations: 155.6 kB / 258 MB, free: 180 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.01567, allocations: 87.7 kB / 258.1 MB, free: 92 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.01571, allocations: 12 kB / 258.1 MB, free: 80 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.01606, allocations: 171.6 kB / 258.2 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.01618, allocations: 75.67 kB / 258.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.01628, allocations: 55.83 kB / 258.4 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.0168, allocations: 354.9 kB / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/0.01682, allocations: 0 / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01682, allocations: 0 / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.01682, allocations: 0 / 258.7 MB, free: 15.43 MB / 250.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.0008951/0.01772, allocations: 0.5162 MB / 259.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.01776, allocations: 11.98 kB / 259.2 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.01786, allocations: 40.75 kB / 259.3 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.01829, allocations: 225.8 kB / 259.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.01831, allocations: 16.55 kB / 259.5 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.01836, allocations: 24.33 kB / 259.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.01889, allocations: 445.8 kB / 260 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.0189, allocations: 3.938 kB / 260 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.01892, allocations: 4 kB / 260 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01893, allocations: 4 kB / 260 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.01914, allocations: 83.88 kB / 260.1 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.01996, allocations: 412.2 kB / 260.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.02029, allocations: 162.5 kB / 260.6 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.02041, allocations: 56.83 kB / 260.7 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.02043, allocations: 8 kB / 260.7 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.02046, allocations: 34.55 kB / 260.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.02046, allocations: 0 / 260.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005349/0.021, allocations: 225.5 kB / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/0.0212, allocations: 290.7 kB / 261.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.02154, allocations: 284.5 kB / 261.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.02157, allocations: 25.7 kB / 261.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.02173, allocations: 160.5 kB / 261.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.02179, allocations: 47.59 kB / 261.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.0219, allocations: 69.67 kB / 261.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.02211, allocations: 342.8 kB / 262.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.02259, allocations: 95.94 kB / 262.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.02305, allocations: 415.8 kB / 262.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.02342, allocations: 209.5 kB / 262.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02342, allocations: 0 / 262.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005794/0.024, allocations: 313.3 kB / 263.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.02402, allocations: 4 kB / 263.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.02404, allocations: 12.09 kB / 263.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.02407, allocations: 7.922 kB / 263.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.02435, allocations: 55.91 kB / 263.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.02436, allocations: 0 / 263.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.02447, allocations: 27.78 kB / 263.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.0245, allocations: 7.984 kB / 263.3 MB, free: 10.48 MB / 250.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.0001811/0.02468, allocations: 149.7 kB / 263.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.02475, allocations: 35.81 kB / 263.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.02481, allocations: 25.91 kB / 263.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.02482, allocations: 8 kB / 263.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.02482, allocations: 4 kB / 263.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02483, allocations: 0 / 263.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.02511, allocations: 193.2 kB / 263.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.02511, allocations: 0 / 263.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.02529, allocations: 27.98 kB / 263.7 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.02529, allocations: 0 / 263.7 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.02531, allocations: 7.984 kB / 263.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.02532, allocations: 0 / 263.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02532, allocations: 0 / 263.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.02587, allocations: 349.4 kB / 264.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.02591, allocations: 27.75 kB / 264.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.02595, allocations: 8.062 kB / 264.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.02608, allocations: 7.984 kB / 264.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.02612, allocations: 7.984 kB / 264.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.02613, allocations: 8 kB / 264.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002153/0.02635, allocations: 195.1 kB / 264.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02635, allocations: 0 / 264.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.02672, allocations: 75.88 kB / 264.4 MB, free: 9.312 MB / 250.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.0002718/0.02699, allocations: 151.1 kB / 264.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.02752, allocations: 273.3 kB / 264.8 MB, free: 8.871 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.02752, allocations: 4 kB / 264.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.02766, allocations: 63.89 kB / 264.9 MB, free: 8.805 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.02816, allocations: 66.55 kB / 264.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.02927, allocations: 0.5352 MB / 265.5 MB, free: 8.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.02949, allocations: 161.8 kB / 265.6 MB, free: 8 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.02963, allocations: 50.03 kB / 265.7 MB, free: 7.953 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.02968, allocations: 20.5 kB / 265.7 MB, free: 7.934 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02968, allocations: 0 / 265.7 MB, free: 7.934 MB / 250.7 MB Notification: Performance of Templates: time 0.009497/0.03918, allocations: 3.98 MB / 269.7 MB, free: 3.977 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.49831118399743]