Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001235/0.001235, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001395/0.001395, allocations: 161.5 kB / 25.61 MB, free: 8.578 MB / 18.57 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 0.9465/0.9465, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] 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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 274.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.856e-05, allocations: 2.312 kB / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00214/0.002158, allocations: 1.629 MB / 275.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.005839, allocations: 3.032 MB / 278.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.005934, allocations: 7.938 kB / 278.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.006217, allocations: 47.7 kB / 278.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.887e-05/0.006266, allocations: 19.8 kB / 278.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.008552, allocations: 1.508 MB / 280.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.008736, allocations: 155.6 kB / 280.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.008822, allocations: 13.31 kB / 280.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.008896, allocations: 71.86 kB / 280.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.008964, allocations: 47.83 kB / 280.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.008981, allocations: 8 kB / 280.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.01003, allocations: 1.432 MB / 282.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.01011, allocations: 31.92 kB / 282.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.01015, allocations: 39.84 kB / 282.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.01127, allocations: 1.43 MB / 283.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.01127, allocations: 4 kB / 283.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01127, allocations: 0 / 283.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.01128, allocations: 0 / 283.6 MB, free: 10.97 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006887/0.01196, allocations: 0.5972 MB / 284.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.012, allocations: 8.031 kB / 284.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.01204, allocations: 24.84 kB / 284.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.01221, allocations: 149.2 kB / 284.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.01222, allocations: 8.375 kB / 284.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.01224, allocations: 12.38 kB / 284.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.01242, allocations: 198.7 kB / 284.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.01243, allocations: 4.172 kB / 284.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.01244, allocations: 3.938 kB / 284.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.01244, allocations: 4 kB / 284.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.643e-05/0.01248, allocations: 15.98 kB / 284.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.01283, allocations: 328.1 kB / 285 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.01302, allocations: 90.97 kB / 285.1 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.01305, allocations: 19.67 kB / 285.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-06/0.01305, allocations: 4 kB / 285.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.01308, allocations: 37.39 kB / 285.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.01308, allocations: 0 / 285.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009399/0.01402, allocations: 0.6581 MB / 285.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.01408, allocations: 128.5 kB / 285.9 MB, free: 8.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01419, allocations: 233.8 kB / 286.1 MB, free: 8.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.01421, allocations: 29.7 kB / 286.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.01427, allocations: 163.2 kB / 286.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.01431, allocations: 51.53 kB / 286.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.01437, allocations: 59.33 kB / 286.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01448, allocations: 0.5 MB / 286.9 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.01453, allocations: 35.97 kB / 287 MB, free: 7.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.01461, allocations: 155.8 kB / 287.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.772e-05/0.01469, allocations: 82.44 kB / 287.2 MB, free: 7.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.0147, allocations: 0 / 287.2 MB, free: 7.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000203/0.0149, allocations: 153.2 kB / 287.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.01491, allocations: 4 kB / 287.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.01493, allocations: 4 kB / 287.4 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.01505, allocations: 31.59 kB / 287.4 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.01517, allocations: 27.98 kB / 287.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/0.0161, allocations: 1.729 MB / 289.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.01615, allocations: 8 kB / 289.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01616, allocations: 4 kB / 289.2 MB, free: 4.969 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 (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 9.232e-05/0.01625, allocations: 168.5 kB / 289.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.01628, allocations: 31.91 kB / 289.4 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.01631, allocations: 21.47 kB / 289.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.01631, allocations: 0 / 289.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01631, allocations: 0 / 289.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.01632, allocations: 0 / 289.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.01645, allocations: 141.2 kB / 289.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01645, allocations: 0 / 289.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.0166, allocations: 51.95 kB / 289.6 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.0166, allocations: 0 / 289.6 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01661, allocations: 4 kB / 289.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01661, allocations: 3.938 kB / 289.6 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.01661, allocations: 8 kB / 289.6 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.01682, allocations: 275.8 kB / 289.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.01683, allocations: 11.91 kB / 289.9 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.01684, allocations: 12 kB / 289.9 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.01689, allocations: 3.938 kB / 289.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.01692, allocations: 11.98 kB / 289.9 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01693, allocations: 7.984 kB / 289.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.393e-05/0.01699, allocations: 156.1 kB / 290 MB, free: 4.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01699, allocations: 0 / 290 MB, free: 4.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009519/0.01794, allocations: 0.5116 MB / 290.6 MB, free: 3.508 MB / 266.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.0006963/0.01864, allocations: 0.6592 MB / 291.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.01903, allocations: 325.4 kB / 291.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01903, allocations: 0 / 291.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.01909, allocations: 45.7 kB / 291.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.01934, allocations: 41.11 kB / 291.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.01981, allocations: 334.6 kB / 291.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.01986, allocations: 83.81 kB / 292 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.452e-05/0.01991, allocations: 17.08 kB / 292 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.02001, allocations: 102.2 kB / 292.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02001, allocations: 0 / 292.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of Templates: time 0.01117/0.03118, allocations: 8.768 MB / 300.9 MB, free: 9.078 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.694900662638247]