Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001689/0.001689, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.00222/0.00222, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.558/1.558, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.88 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1112, allocations: 53.32 MB / 427.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003164/0.1144, allocations: 1.63 MB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2225/0.3368, allocations: 3.219 MB / 432 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.337, allocations: 6.406 kB / 432 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.3374, allocations: 55.27 kB / 432.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.3374, allocations: 12.34 kB / 432.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.341, allocations: 1.419 MB / 433.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.3413, allocations: 153.9 kB / 433.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3414, allocations: 14.03 kB / 433.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.3415, allocations: 63.77 kB / 433.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.3416, allocations: 48.25 kB / 433.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.3416, allocations: 7.75 kB / 433.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.3435, allocations: 1.393 MB / 435.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.3436, allocations: 40.19 kB / 435.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.3437, allocations: 52.03 kB / 435.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.3451, allocations: 1.205 MB / 436.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3451, allocations: 0 / 436.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3451, allocations: 0 / 436.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3451, allocations: 0 / 436.5 MB, free: 7.945 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001055/0.3462, allocations: 0.5694 MB / 437 MB, free: 7.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3462, allocations: 13.12 kB / 437 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.3463, allocations: 14.78 kB / 437.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3465, allocations: 222.1 kB / 437.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3465, allocations: 4.406 kB / 437.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.3465, allocations: 12.17 kB / 437.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3468, allocations: 129.6 kB / 437.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3468, allocations: 5.109 kB / 437.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3468, allocations: 4.938 kB / 437.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3468, allocations: 1.781 kB / 437.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3469, allocations: 59.05 kB / 437.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.3475, allocations: 383.5 kB / 437.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.3479, allocations: 126.9 kB / 438 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.348, allocations: 40.53 kB / 438 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.348, allocations: 1.906 kB / 438 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.348, allocations: 39.19 kB / 438.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.348, allocations: 0 / 438.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002252/0.3503, allocations: 1.215 MB / 439.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.3503, allocations: 131.4 kB / 439.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3505, allocations: 176.1 kB / 439.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3505, allocations: 30.92 kB / 439.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.3506, allocations: 107.1 kB / 439.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.3506, allocations: 60.97 kB / 439.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.3507, allocations: 47.48 kB / 439.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.3508, allocations: 328 kB / 440.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.351, allocations: 97.31 kB / 440.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.3512, allocations: 131.2 kB / 440.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.3515, allocations: 209.6 kB / 440.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3515, allocations: 0 / 440.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005795/0.3521, allocations: 313.3 kB / 440.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3521, allocations: 7.5 kB / 440.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.3521, allocations: 3.75 kB / 440.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.3523, allocations: 43.19 kB / 440.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3525, allocations: 30.59 kB / 441 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.3538, allocations: 1.508 MB / 442.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-05/0.3539, allocations: 15.45 kB / 442.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3539, allocations: 7.312 kB / 442.5 MB, free: 3.641 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 (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.0001083/0.354, allocations: 137.1 kB / 442.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.354, allocations: 14.03 kB / 442.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.3541, allocations: 22.7 kB / 442.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3541, allocations: 5.062 kB / 442.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3541, allocations: 1.125 kB / 442.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3541, allocations: 5.312 kB / 442.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.3544, allocations: 253.7 kB / 442.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3544, allocations: 0 / 442.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.3546, allocations: 50.55 kB / 443 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3546, allocations: 1.797 kB / 443 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3547, allocations: 5.125 kB / 443 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3547, allocations: 2.844 kB / 443 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3547, allocations: 0.6094 kB / 443 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.3552, allocations: 419.3 kB / 443.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.3553, allocations: 89.34 kB / 443.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3553, allocations: 4.969 kB / 443.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3554, allocations: 5.422 kB / 443.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.3554, allocations: 8.844 kB / 443.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3554, allocations: 10.61 kB / 443.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.3555, allocations: 128.5 kB / 443.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3555, allocations: 0 / 443.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002867/0.3584, allocations: 0.5186 MB / 444.1 MB, free: 2.805 MB / 350.1 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.001511/0.3599, allocations: 0.5521 MB / 444.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000701/0.3606, allocations: 373.4 kB / 445.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3606, allocations: 1.281 kB / 445.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3608, allocations: 85.56 kB / 445.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3611, allocations: 34.02 kB / 445.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.3617, allocations: 404.3 kB / 445.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.3619, allocations: 0.7364 MB / 446.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.545e-05/0.362, allocations: 34.09 kB / 446.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.3621, allocations: 15.81 kB / 446.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3621, allocations: 0 / 446.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Templates: time 0.01885/0.3809, allocations: 7.915 MB / 454.3 MB, free: 15.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.852878996171057]