Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001718/0.001718, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001553/0.001553, allocations: 168 kB / 25.02 MB, free: 8.422 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.433/1.433, allocations: 158.6 MB / 186.8 MB, free: 2.848 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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 250.3 MB, free: 3.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.95e-05, allocations: 2.312 kB / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003194/0.003224, allocations: 1.585 MB / 251.9 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005694/0.008918, allocations: 2.99 MB / 254.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.009023, allocations: 3.938 kB / 254.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.009369, allocations: 59.69 kB / 255 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.00944, allocations: 15.88 kB / 255 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004083/0.01352, allocations: 1.514 MB / 256.5 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.01379, allocations: 147.6 kB / 256.6 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.01389, allocations: 17.3 kB / 256.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.01402, allocations: 79.8 kB / 256.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.01412, allocations: 43.88 kB / 256.8 MB, free: 13.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.01414, allocations: 8 kB / 256.8 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.01639, allocations: 1.421 MB / 258.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.0165, allocations: 43.83 kB / 258.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.01656, allocations: 27.92 kB / 258.3 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.0186, allocations: 1.461 MB / 259.7 MB, free: 10.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.0186, allocations: 0 / 259.7 MB, free: 10.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.0186, allocations: 0 / 259.7 MB, free: 10.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.01861, allocations: 0 / 259.7 MB, free: 10.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001177/0.01979, allocations: 0.4896 MB / 260.2 MB, free: 10 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01983, allocations: 11.98 kB / 260.2 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.0199, allocations: 28.84 kB / 260.3 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.02016, allocations: 153.5 kB / 260.4 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.02018, allocations: 12.36 kB / 260.4 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.02022, allocations: 12.38 kB / 260.4 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.02055, allocations: 206.6 kB / 260.6 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.02057, allocations: 192 / 260.6 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.02058, allocations: 7.938 kB / 260.7 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.02059, allocations: 0 / 260.7 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.02075, allocations: 62.06 kB / 260.7 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.02133, allocations: 316.2 kB / 261 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.02172, allocations: 122.6 kB / 261.1 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.686e-05/0.02181, allocations: 40.83 kB / 261.2 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.02183, allocations: 0 / 261.2 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.02187, allocations: 38.56 kB / 261.2 MB, free: 8.902 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 7.11e-07/0.02187, allocations: 4.125 kB / 261.2 MB, free: 8.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.002425/0.02429, allocations: 0.989 MB / 262.2 MB, free: 7.832 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/0.02439, allocations: 128.5 kB / 262.3 MB, free: 7.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.02459, allocations: 182.1 kB / 262.5 MB, free: 7.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.02462, allocations: 33.7 kB / 262.6 MB, free: 7.449 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.02471, allocations: 104.6 kB / 262.7 MB, free: 7.344 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.02477, allocations: 59.52 kB / 262.7 MB, free: 7.285 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.02486, allocations: 45.7 kB / 262.8 MB, free: 7.234 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004586/0.02532, allocations: 326.8 kB / 263.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.02551, allocations: 95.94 kB / 263.2 MB, free: 6.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.0258, allocations: 224.3 kB / 263.4 MB, free: 6.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.02615, allocations: 200.8 kB / 263.6 MB, free: 6.363 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.02615, allocations: 0 / 263.6 MB, free: 6.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006152/0.02677, allocations: 318.1 kB / 263.9 MB, free: 6.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.02678, allocations: 4 kB / 263.9 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.0268, allocations: 4 kB / 263.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.02702, allocations: 48.75 kB / 264 MB, free: 5.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.02719, allocations: 31.92 kB / 264 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.02871, allocations: 1.393 MB / 265.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.02881, allocations: 11.98 kB / 265.4 MB, free: 4.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.02883, allocations: 4 kB / 265.4 MB, free: 4.441 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.02897, allocations: 137.8 kB / 265.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.02903, allocations: 19.94 kB / 265.5 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.0291, allocations: 25.47 kB / 265.6 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.0291, allocations: 0 / 265.6 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.0291, allocations: 3.984 kB / 265.6 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.02911, allocations: 4.094 kB / 265.6 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.02935, allocations: 169.3 kB / 265.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02936, allocations: 3.938 kB / 265.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.02965, allocations: 55.89 kB / 265.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.02965, allocations: 0 / 265.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.02967, allocations: 4 kB / 265.8 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.02967, allocations: 4 kB / 265.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.02967, allocations: 0 / 265.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.0303, allocations: 410.8 kB / 266.2 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.03033, allocations: 23.84 kB / 266.2 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.03036, allocations: 8 kB / 266.2 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.03048, allocations: 12.03 kB / 266.3 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.03052, allocations: 3.984 kB / 266.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.03053, allocations: 4 kB / 266.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.03066, allocations: 136.2 kB / 266.4 MB, free: 3.379 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03066, allocations: 0 / 266.4 MB, free: 3.379 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001486/0.03214, allocations: 0.5155 MB / 266.9 MB, free: 2.863 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.001476/0.03362, allocations: 0.6647 MB / 267.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007222/0.03434, allocations: 376.9 kB / 267.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.03434, allocations: 0 / 267.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.03451, allocations: 83.89 kB / 268 MB, free: 1.723 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.03486, allocations: 37.09 kB / 268.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.0356, allocations: 388.9 kB / 268.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.03574, allocations: 118.8 kB / 268.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.03584, allocations: 33.11 kB / 268.6 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.03589, allocations: 16.59 kB / 268.6 MB, free: 1.102 MB / 250.7 MB Notification: Performance of SimCode: time 4.1e-07/0.03589, allocations: 0 / 268.6 MB, free: 1.102 MB / 250.7 MB Notification: Performance of Templates: time 0.01679/0.05268, allocations: 8.04 MB / 276.6 MB, free: 9.059 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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.62142667802982]