Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 173.4 MB / 200.8 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.247e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003527/0.00356, allocations: 1.765 MB / 269.1 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006955/0.01051, allocations: 3.28 MB / 272.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.01065, allocations: 11.88 kB / 272.4 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.01119, allocations: 139.2 kB / 272.5 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.0113, allocations: 39.64 kB / 272.5 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004884/0.01619, allocations: 1.892 MB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.01667, allocations: 311.1 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.01681, allocations: 24.92 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.01707, allocations: 155.5 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.01722, allocations: 79.78 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.01726, allocations: 12 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.0176, allocations: 179.5 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.01775, allocations: 71.75 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.01786, allocations: 63.77 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.01843, allocations: 362.8 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.01843, allocations: 0 / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.01843, allocations: 0 / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.01844, allocations: 0 / 275.7 MB, free: 14.36 MB / 266.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.001013/0.01945, allocations: 0.5123 MB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.01949, allocations: 12.86 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.648e-05/0.01959, allocations: 40.75 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.02007, allocations: 222 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.02009, allocations: 12.31 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/0.02016, allocations: 19.98 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.02076, allocations: 437.4 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.02076, allocations: 0 / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.02078, allocations: 4 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.02079, allocations: 4 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.02101, allocations: 91.86 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.02187, allocations: 408.3 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.0222, allocations: 166.4 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.02233, allocations: 56.83 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.02235, allocations: 4 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.02239, allocations: 34.56 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.02239, allocations: 96 / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005662/0.02295, allocations: 233.1 kB / 277.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002376/0.02319, allocations: 286.7 kB / 278.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.02356, allocations: 288.5 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.0236, allocations: 29.7 kB / 278.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.02374, allocations: 148.6 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.0238, allocations: 55.48 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.02391, allocations: 65.67 kB / 278.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.02412, allocations: 342.8 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.02433, allocations: 95.94 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.02479, allocations: 415.8 kB / 279.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.02518, allocations: 213.5 kB / 279.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02518, allocations: 0 / 279.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006127/0.02579, allocations: 317.3 kB / 280.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.02581, allocations: 4 kB / 280.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.02584, allocations: 4 kB / 280.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.02586, allocations: 0 / 280.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.02615, allocations: 51.95 kB / 280.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.02616, allocations: 0 / 280.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.02628, allocations: 31.78 kB / 280.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.02631, allocations: 4 kB / 280.2 MB, free: 9.43 MB / 266.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.0002118/0.02652, allocations: 153.8 kB / 280.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.02659, allocations: 27.86 kB / 280.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-05/0.02667, allocations: 29.89 kB / 280.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.02668, allocations: 4 kB / 280.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.02668, allocations: 0 / 280.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.02669, allocations: 0 / 280.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.02704, allocations: 205.1 kB / 280.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.02704, allocations: 0 / 280.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.02725, allocations: 27.98 kB / 280.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.02725, allocations: 0 / 280.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.02728, allocations: 8 kB / 280.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.02729, allocations: 12.03 kB / 280.6 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02729, allocations: 3.938 kB / 280.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.0279, allocations: 335.2 kB / 281 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.02795, allocations: 23.81 kB / 281 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.02799, allocations: 8.062 kB / 281 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.02813, allocations: 7.984 kB / 281 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.02819, allocations: 11.98 kB / 281 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.0282, allocations: 8 kB / 281 MB, free: 8.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.02844, allocations: 195.1 kB / 281.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02844, allocations: 0 / 281.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004166/0.02886, allocations: 79.88 kB / 281.3 MB, free: 8.258 MB / 266.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.0003207/0.02918, allocations: 155 kB / 281.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.02973, allocations: 260.9 kB / 281.7 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02973, allocations: 4 kB / 281.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.02987, allocations: 67.91 kB / 281.8 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.03043, allocations: 72.41 kB / 281.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.03167, allocations: 0.5322 MB / 282.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.03189, allocations: 161.8 kB / 282.5 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.03202, allocations: 42.03 kB / 282.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.03209, allocations: 20.5 kB / 282.6 MB, free: 6.883 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03209, allocations: 0 / 282.6 MB, free: 6.883 MB / 266.7 MB Notification: Performance of Templates: time 0.009826/0.04191, allocations: 3.994 MB / 286.6 MB, free: 2.953 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.490494346013293]