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.001349/0.001349, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.001447/0.001447, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 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 2.336/2.336, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 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 1.563e-06/1.563e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.897e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003046/0.003075, allocations: 1.605 MB / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.008657, allocations: 2.984 MB / 276.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.008762, allocations: 3.938 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.009089, allocations: 59.64 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.009154, allocations: 15.84 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.01284, allocations: 1.518 MB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.01319, allocations: 147.6 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.514e-05/0.01327, allocations: 21.22 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.01337, allocations: 71.88 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.01347, allocations: 43.88 kB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.01349, allocations: 8 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.01536, allocations: 1.432 MB / 280.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.01546, allocations: 39.84 kB / 280.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.01551, allocations: 31.91 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.01732, allocations: 1.465 MB / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01733, allocations: 0 / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01733, allocations: 0 / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.257e-06/0.01733, allocations: 4 kB / 281.6 MB, free: 8.328 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.001142/0.01847, allocations: 493.4 kB / 282.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.01851, allocations: 15.98 kB / 282.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.01857, allocations: 24.84 kB / 282.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.01882, allocations: 161.5 kB / 282.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.01883, allocations: 8.375 kB / 282.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.01887, allocations: 12.38 kB / 282.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.01918, allocations: 194.8 kB / 282.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01919, allocations: 4.188 kB / 282.5 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.01921, allocations: 11.92 kB / 282.5 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.01921, allocations: 3.938 kB / 282.5 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.01938, allocations: 63.89 kB / 282.6 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.01993, allocations: 312.2 kB / 282.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.0203, allocations: 122.5 kB / 283 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.343e-05/0.02039, allocations: 40.83 kB / 283.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.0204, allocations: 0 / 283.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.02044, allocations: 38.56 kB / 283.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 7.11e-07/0.02044, allocations: 0 / 283.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.002277/0.02271, allocations: 0.9887 MB / 284.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.02281, allocations: 128.5 kB / 284.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.02299, allocations: 182.2 kB / 284.4 MB, free: 5.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.02302, allocations: 29.7 kB / 284.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.0231, allocations: 116.5 kB / 284.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.02316, allocations: 51.53 kB / 284.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.02325, allocations: 45.7 kB / 284.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.02342, allocations: 326.8 kB / 285 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.02361, allocations: 99.94 kB / 285.1 MB, free: 4.621 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.02387, allocations: 212.4 kB / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.02423, allocations: 204.7 kB / 285.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.02423, allocations: 0 / 285.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005826/0.02482, allocations: 314.2 kB / 285.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.02483, allocations: 4 kB / 285.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.02485, allocations: 11.98 kB / 285.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.02505, allocations: 40.77 kB / 285.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.02523, allocations: 35.97 kB / 285.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.02668, allocations: 1.389 MB / 287.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.922e-05/0.02678, allocations: 12.02 kB / 287.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.02679, allocations: 4 kB / 287.3 MB, free: 2.266 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 0.0001477/0.02694, allocations: 141.7 kB / 287.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.02699, allocations: 19.91 kB / 287.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-05/0.02706, allocations: 21.47 kB / 287.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.02706, allocations: 8.016 kB / 287.4 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.02706, allocations: 8.125 kB / 287.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.02707, allocations: 0 / 287.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.02732, allocations: 161.3 kB / 287.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.02732, allocations: 3.938 kB / 287.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.02761, allocations: 51.95 kB / 287.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.02762, allocations: 0 / 287.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.02763, allocations: 4 kB / 287.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.02763, allocations: 4 kB / 287.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02763, allocations: 0 / 287.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.02827, allocations: 422 kB / 288.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.0283, allocations: 15.84 kB / 288.1 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.02832, allocations: 4 kB / 288.1 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.02844, allocations: 12.03 kB / 288.1 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.02849, allocations: 7.984 kB / 288.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.0285, allocations: 0 / 288.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.02862, allocations: 135.2 kB / 288.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02862, allocations: 0 / 288.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001602/0.03022, allocations: 0.5155 MB / 288.8 MB, free: 0.6914 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.001407/0.03163, allocations: 0.6592 MB / 289.4 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007709/0.0324, allocations: 369.9 kB / 289.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.0324, allocations: 0 / 289.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.03257, allocations: 79.89 kB / 289.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.03293, allocations: 47.09 kB / 289.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.03371, allocations: 390.1 kB / 290.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.03385, allocations: 118.8 kB / 290.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.03396, allocations: 33.11 kB / 290.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.03402, allocations: 16.5 kB / 290.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03402, allocations: 0 / 290.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of Templates: time 0.01722/0.05124, allocations: 8.048 MB / 298.5 MB, free: 6.891 MB / 282.7 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: 5.595462775090709]