Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001595/0.001595, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.81 kB / 368.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2564, allocations: 53.31 MB / 422.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003321/0.2598, allocations: 1.636 MB / 423.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006559/0.2663, allocations: 3.222 MB / 427.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.2665, allocations: 3.938 kB / 427.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.267, allocations: 63.62 kB / 427.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2671, allocations: 11.86 kB / 427.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004479/0.2716, allocations: 1.399 MB / 428.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.2719, allocations: 151.6 kB / 428.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.272, allocations: 13.12 kB / 428.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2721, allocations: 55.83 kB / 428.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.2723, allocations: 55.69 kB / 428.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.2723, allocations: 8 kB / 428.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.2746, allocations: 1.393 MB / 430.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2747, allocations: 35.91 kB / 430.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.192e-05/0.2747, allocations: 55.66 kB / 430.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.2765, allocations: 1.201 MB / 431.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2765, allocations: 4 kB / 431.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2765, allocations: 7.938 kB / 431.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.2765, allocations: 0 / 431.6 MB, free: 14.5 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.001393/0.2779, allocations: 0.5649 MB / 432.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2779, allocations: 12.03 kB / 432.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.278, allocations: 12.84 kB / 432.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.2783, allocations: 216.2 kB / 432.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2783, allocations: 4.375 kB / 432.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.2783, allocations: 12.38 kB / 432.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.2786, allocations: 128.9 kB / 432.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2786, allocations: 4 kB / 432.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2787, allocations: 4 kB / 432.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2787, allocations: 0 / 432.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.2788, allocations: 55.95 kB / 432.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.2795, allocations: 392.5 kB / 432.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.2798, allocations: 130.5 kB / 433.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/0.2799, allocations: 40.83 kB / 433.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.2799, allocations: 8 kB / 433.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.28, allocations: 34.56 kB / 433.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.28, allocations: 0 / 433.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002273/0.2823, allocations: 1.224 MB / 434.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.2823, allocations: 128.5 kB / 434.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.2825, allocations: 182.3 kB / 434.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.2825, allocations: 25.7 kB / 434.7 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.2826, allocations: 120.5 kB / 434.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.2827, allocations: 51.56 kB / 434.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.2828, allocations: 49.7 kB / 434.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.2829, allocations: 322.8 kB / 435.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.2831, allocations: 99.94 kB / 435.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.2833, allocations: 131.3 kB / 435.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.2837, allocations: 212.9 kB / 435.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2837, allocations: 0 / 435.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005449/0.2842, allocations: 302.2 kB / 436 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2842, allocations: 4 kB / 436 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.2843, allocations: 4 kB / 436 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.2844, allocations: 48.75 kB / 436 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.2846, allocations: 31.92 kB / 436.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.286, allocations: 1.512 MB / 437.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.2861, allocations: 15.95 kB / 437.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2861, allocations: 4 kB / 437.6 MB, free: 7.926 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.0001372/0.2863, allocations: 135 kB / 437.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.2863, allocations: 15.91 kB / 437.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.2864, allocations: 25.53 kB / 437.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2864, allocations: 64 / 437.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2864, allocations: 7.984 kB / 437.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2864, allocations: 3.938 kB / 437.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.2867, allocations: 241.6 kB / 438 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2867, allocations: 0 / 438 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.287, allocations: 55.89 kB / 438.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.287, allocations: 4 kB / 438.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.287, allocations: 8 kB / 438.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.287, allocations: 0 / 438.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.287, allocations: 0 / 438.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.2876, allocations: 419.1 kB / 438.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.2876, allocations: 89.02 kB / 438.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.2877, allocations: 7.938 kB / 438.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2878, allocations: 8.031 kB / 438.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.2878, allocations: 15.92 kB / 438.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2878, allocations: 4 kB / 438.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.288, allocations: 124.2 kB / 438.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.288, allocations: 4 kB / 438.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001595/0.2896, allocations: 0.5155 MB / 439.2 MB, free: 6.176 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.001158/0.2907, allocations: 0.5405 MB / 439.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007206/0.2914, allocations: 381.8 kB / 440.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2914, allocations: 4 kB / 440.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.2916, allocations: 90.84 kB / 440.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.292, allocations: 34.89 kB / 440.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.2927, allocations: 401.2 kB / 440.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.2931, allocations: 0.7319 MB / 441.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.846e-05/0.2932, allocations: 25.06 kB / 441.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.2932, allocations: 19.44 kB / 441.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2932, allocations: 3.938 kB / 441.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of Templates: time 0.01492/0.3081, allocations: 7.941 MB / 449.4 MB, free: 11.95 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches