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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 55.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2996, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002892/0.3026, allocations: 1.634 MB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.3078, allocations: 3.195 MB / 414.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.308, allocations: 7.938 kB / 414.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.3084, allocations: 51.7 kB / 414.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.3085, allocations: 19.84 kB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.3126, allocations: 1.415 MB / 415.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.3129, allocations: 155.6 kB / 415.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3131, allocations: 21.11 kB / 415.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.3131, allocations: 55.83 kB / 415.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3133, allocations: 55.7 kB / 415.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.3133, allocations: 11.94 kB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.3151, allocations: 1.39 MB / 417.2 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-05/0.3152, allocations: 35.89 kB / 417.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.3153, allocations: 51.67 kB / 417.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3166, allocations: 1.201 MB / 418.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3167, allocations: 3.938 kB / 418.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3167, allocations: 3.984 kB / 418.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3167, allocations: 0 / 418.5 MB, free: 8.289 MB / 334.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.001083/0.3178, allocations: 0.5572 MB / 419.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3178, allocations: 12.03 kB / 419.1 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.3179, allocations: 16.84 kB / 419.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3182, allocations: 228 kB / 419.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3182, allocations: 4.375 kB / 419.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.3182, allocations: 12.31 kB / 419.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.3185, allocations: 133 kB / 419.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3185, allocations: 0 / 419.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3186, allocations: 8 kB / 419.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3186, allocations: 0 / 419.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3187, allocations: 55.95 kB / 419.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.3193, allocations: 384.5 kB / 419.9 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.3197, allocations: 126.5 kB / 420 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.3198, allocations: 48.83 kB / 420.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.3198, allocations: 0 / 420.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3198, allocations: 30.56 kB / 420.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.3198, allocations: 0 / 420.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002171/0.322, allocations: 1.225 MB / 421.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.3221, allocations: 136.5 kB / 421.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3223, allocations: 174.3 kB / 421.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.3223, allocations: 33.7 kB / 421.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.3224, allocations: 112.4 kB / 421.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.3225, allocations: 55.58 kB / 421.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.3225, allocations: 41.7 kB / 421.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3227, allocations: 326.8 kB / 422.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3228, allocations: 103.9 kB / 422.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.323, allocations: 135.3 kB / 422.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.3233, allocations: 196.7 kB / 422.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3233, allocations: 0 / 422.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005101/0.3238, allocations: 310.2 kB / 422.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3239, allocations: 10.66 kB / 422.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3239, allocations: 4 kB / 422.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.3241, allocations: 44.77 kB / 423 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3243, allocations: 31.97 kB / 423 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.3255, allocations: 1.512 MB / 424.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-05/0.3256, allocations: 15.95 kB / 424.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3256, allocations: 4.047 kB / 424.6 MB, free: 1.723 MB / 334.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.0001337/0.3257, allocations: 141.9 kB / 424.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.3258, allocations: 11.91 kB / 424.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.3259, allocations: 21.53 kB / 424.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.3259, allocations: 0 / 424.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3259, allocations: 8 kB / 424.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3259, allocations: 7.922 kB / 424.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.3261, allocations: 245.6 kB / 425 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3262, allocations: 3.938 kB / 425 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.3264, allocations: 55.89 kB / 425 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3264, allocations: 0 / 425 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3265, allocations: 4 kB / 425 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3265, allocations: 4 kB / 425 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3265, allocations: 3.984 kB / 425.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.327, allocations: 411.2 kB / 425.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.3271, allocations: 92.95 kB / 425.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3271, allocations: 4 kB / 425.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3272, allocations: 12.03 kB / 425.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.3272, allocations: 16.3 kB / 425.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.3273, allocations: 4 kB / 425.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.279e-05/0.3274, allocations: 124.2 kB / 425.7 MB, free: 496 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3274, allocations: 0 / 425.7 MB, free: 496 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.00168/0.3291, allocations: 0.5194 MB / 426.2 MB, free: 15.96 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.001097/0.3302, allocations: 0.5413 MB / 426.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006604/0.3308, allocations: 396.3 kB / 427.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3308, allocations: 0 / 427.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.331, allocations: 87.89 kB / 427.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3313, allocations: 38.48 kB / 427.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.332, allocations: 405.3 kB / 427.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3323, allocations: 0.7318 MB / 428.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.451e-05/0.3324, allocations: 37.14 kB / 428.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.3324, allocations: 15.44 kB / 428.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3324, allocations: 0 / 428.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Templates: time 0.01613/0.3486, allocations: 7.909 MB / 436.4 MB, free: 5.75 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches