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.001774/0.001786, allocations: 106.4 kB / 17.73 MB, free: 5.367 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.001316/0.001316, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.559/1.559, 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.001396/0.001396, allocations: 56.39 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1014, allocations: 46.61 MB / 375.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003442/0.1049, allocations: 1.597 MB / 376.7 MB, free: 3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2711/0.376, allocations: 3.204 MB / 379.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.3763, allocations: 4.312 kB / 379.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.3768, allocations: 56.86 kB / 380 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.3769, allocations: 12.48 kB / 380 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004756/0.3817, allocations: 1.415 MB / 381.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.3822, allocations: 146.8 kB / 381.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.3823, allocations: 27.16 kB / 381.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3825, allocations: 55.61 kB / 381.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3826, allocations: 53.33 kB / 381.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.3826, allocations: 6.875 kB / 381.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.385, allocations: 1.378 MB / 383.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3851, allocations: 38.5 kB / 383.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.3852, allocations: 55.34 kB / 383.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.387, allocations: 1.202 MB / 384.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.387, allocations: 0 / 384.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3871, allocations: 1.031 kB / 384.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3871, allocations: 0.5 kB / 384.4 MB, free: 9.609 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.001082/0.3882, allocations: 0.5646 MB / 384.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3882, allocations: 8.969 kB / 384.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.3883, allocations: 15 kB / 385 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.3885, allocations: 218.2 kB / 385.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3885, allocations: 7.594 kB / 385.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.3886, allocations: 13.53 kB / 385.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.3889, allocations: 133.4 kB / 385.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.389, allocations: 1 kB / 385.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.389, allocations: 3.312 kB / 385.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.389, allocations: 1.094 kB / 385.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3892, allocations: 59.58 kB / 385.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.3898, allocations: 380.4 kB / 385.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.3903, allocations: 132.1 kB / 385.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3904, allocations: 38.8 kB / 385.9 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.3904, allocations: 1.312 kB / 385.9 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3905, allocations: 41.45 kB / 386 MB, free: 8.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.3905, allocations: 0 / 386 MB, free: 8.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002994/0.3935, allocations: 1.221 MB / 387.2 MB, free: 7.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.3936, allocations: 138.3 kB / 387.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3938, allocations: 168 kB / 387.5 MB, free: 7.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3939, allocations: 31.11 kB / 387.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.394, allocations: 109.8 kB / 387.6 MB, free: 7.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.3941, allocations: 54.12 kB / 387.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3942, allocations: 44.75 kB / 387.7 MB, free: 7.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.3943, allocations: 331.2 kB / 388 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3946, allocations: 92.94 kB / 388.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.3949, allocations: 136.5 kB / 388.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.3954, allocations: 197 kB / 388.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3954, allocations: 0.7031 kB / 388.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007876/0.3962, allocations: 313.5 kB / 388.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3962, allocations: 8.812 kB / 388.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.3963, allocations: 3.531 kB / 388.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.3965, allocations: 45.86 kB / 388.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3967, allocations: 29.34 kB / 388.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.3983, allocations: 1.522 MB / 390.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.3985, allocations: 5.641 kB / 390.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3985, allocations: 11.83 kB / 390.4 MB, free: 5.062 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.0001897/0.3987, allocations: 134.3 kB / 390.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.3988, allocations: 18.78 kB / 390.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.3988, allocations: 21.47 kB / 390.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3989, allocations: 10.08 kB / 390.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3989, allocations: 0.75 kB / 390.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3989, allocations: 3.109 kB / 390.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.3993, allocations: 246.5 kB / 390.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3993, allocations: 0 / 390.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.3997, allocations: 56.7 kB / 390.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3997, allocations: 1.594 kB / 390.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.3998, allocations: 5.875 kB / 390.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3998, allocations: 1.062 kB / 390.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3998, allocations: 1.031 kB / 390.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.4007, allocations: 412.6 kB / 391.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.4008, allocations: 97.11 kB / 391.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.4008, allocations: 2.312 kB / 391.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.401, allocations: 7.469 kB / 391.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4011, allocations: 9.656 kB / 391.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.4011, allocations: 2.312 kB / 391.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.4013, allocations: 136.3 kB / 391.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4013, allocations: 1.406 kB / 391.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004966/0.4063, allocations: 0.5124 MB / 392 MB, free: 4.223 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.002172/0.4084, allocations: 0.561 MB / 392.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.4095, allocations: 397.1 kB / 393 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4095, allocations: 0 / 393 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.4097, allocations: 85.73 kB / 393.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.4103, allocations: 37.47 kB / 393.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4113, allocations: 401.2 kB / 393.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4117, allocations: 0.7289 MB / 394.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.4119, allocations: 28.73 kB / 394.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.4119, allocations: 20.31 kB / 394.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4119, allocations: 0 / 394.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of Templates: time 0.02788/0.4398, allocations: 7.907 MB / 402.2 MB, free: 100 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