Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 179.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 51.91 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08857, allocations: 46.62 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003151/0.09176, allocations: 1.597 MB / 376.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2011/0.2929, allocations: 3.203 MB / 379.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.2931, allocations: 3.156 kB / 379.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.2935, allocations: 53.06 kB / 380 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.2936, allocations: 14.78 kB / 380 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.2972, allocations: 1.421 MB / 381.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.2975, allocations: 143.8 kB / 381.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2977, allocations: 25.95 kB / 381.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2978, allocations: 56.42 kB / 381.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.2979, allocations: 53 kB / 381.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2979, allocations: 11.94 kB / 381.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.2999, allocations: 1.376 MB / 383.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.3, allocations: 40.7 kB / 383.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.3001, allocations: 49.11 kB / 383.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.3017, allocations: 1.207 MB / 384.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3017, allocations: 1.125 kB / 384.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3017, allocations: 1.281 kB / 384.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3017, allocations: 0 / 384.4 MB, free: 9.594 MB / 318.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.00114/0.3028, allocations: 0.5666 MB / 384.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3029, allocations: 9.281 kB / 385 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.303, allocations: 15.97 kB / 385 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3032, allocations: 219.8 kB / 385.2 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3032, allocations: 6.875 kB / 385.2 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.3032, allocations: 12.52 kB / 385.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3035, allocations: 130.5 kB / 385.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3035, allocations: 9.438 kB / 385.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3036, allocations: 2.125 kB / 385.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3036, allocations: 1.312 kB / 385.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.3037, allocations: 54.52 kB / 385.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.3043, allocations: 383.1 kB / 385.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.3047, allocations: 130.7 kB / 385.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.3048, allocations: 42.19 kB / 385.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3048, allocations: 0.7031 kB / 385.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3049, allocations: 36.28 kB / 386 MB, free: 8.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3049, allocations: 0 / 386 MB, free: 8.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002224/0.3071, allocations: 1.223 MB / 387.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.3072, allocations: 133.6 kB / 387.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3073, allocations: 172.1 kB / 387.5 MB, free: 7.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3073, allocations: 30.98 kB / 387.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.3074, allocations: 110.9 kB / 387.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.3075, allocations: 57.67 kB / 387.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.3075, allocations: 44.47 kB / 387.7 MB, free: 7.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.3076, allocations: 327.9 kB / 388.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3078, allocations: 101.3 kB / 388.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.308, allocations: 131.8 kB / 388.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.3084, allocations: 198.4 kB / 388.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3084, allocations: 0 / 388.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005234/0.3089, allocations: 308.2 kB / 388.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.309, allocations: 13.41 kB / 388.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.309, allocations: 3.078 kB / 388.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.3092, allocations: 47.98 kB / 388.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3094, allocations: 29.06 kB / 388.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.3105, allocations: 1.524 MB / 390.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.3106, allocations: 7.25 kB / 390.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3106, allocations: 8.562 kB / 390.4 MB, free: 5.059 MB / 318.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.00011/0.3107, allocations: 139.8 kB / 390.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.3107, allocations: 18.41 kB / 390.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.3108, allocations: 21.22 kB / 390.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3108, allocations: 1.156 kB / 390.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3108, allocations: 0 / 390.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3108, allocations: 4.297 kB / 390.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.3111, allocations: 246.3 kB / 390.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3111, allocations: 0 / 390.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.3114, allocations: 53.56 kB / 390.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3114, allocations: 7.469 kB / 390.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3114, allocations: 2.312 kB / 390.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3114, allocations: 1.219 kB / 390.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3114, allocations: 1.156 kB / 390.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.3119, allocations: 418.9 kB / 391.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.312, allocations: 90 kB / 391.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.312, allocations: 3.938 kB / 391.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3121, allocations: 12.88 kB / 391.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.3122, allocations: 8.312 kB / 391.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3122, allocations: 7.188 kB / 391.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.3123, allocations: 135.8 kB / 391.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3123, allocations: 0 / 391.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003081/0.3154, allocations: 0.5135 MB / 392.1 MB, free: 4.207 MB / 318.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.001326/0.3167, allocations: 0.5653 MB / 392.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000701/0.3174, allocations: 388.1 kB / 393 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3174, allocations: 0 / 393 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.3176, allocations: 92.52 kB / 393.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.318, allocations: 34.69 kB / 393.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.3186, allocations: 410 kB / 393.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3189, allocations: 0.7285 MB / 394.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.319, allocations: 29.48 kB / 394.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.3191, allocations: 15.72 kB / 394.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3191, allocations: 0 / 394.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of Templates: time 0.01875/0.3378, allocations: 7.907 MB / 402.2 MB, free: 72 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches