Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 94.56 kB / 16.65 MB, free: 6.59 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.001147/0.001148, allocations: 182.2 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 241.6 MB, free: 96 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003301, allocations: 8 kB / 301.5 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 50.42 MB / 351.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00227/0.124, allocations: 1.315 MB / 353.3 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006633/0.1306, allocations: 3.486 MB / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1308, allocations: 11.94 kB / 356.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1312, allocations: 39.83 kB / 356.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1313, allocations: 15.92 kB / 356.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.1352, allocations: 1.067 MB / 357.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.1355, allocations: 139.6 kB / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1357, allocations: 29.05 kB / 358 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.1358, allocations: 39.84 kB / 358.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1359, allocations: 55.7 kB / 358.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1359, allocations: 11.94 kB / 358.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.1384, allocations: 1.358 MB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1385, allocations: 31.91 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1386, allocations: 69.38 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.1404, allocations: 1.189 MB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1404, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.1404, allocations: 4 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.1404, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.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.0015/0.1419, allocations: 0.5419 MB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.142, allocations: 8.031 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.1421, allocations: 46.67 kB / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.1422, allocations: 16.75 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1425, allocations: 204.1 kB / 361.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1425, allocations: 7.938 kB / 361.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.1426, allocations: 12 kB / 361.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.1429, allocations: 129 kB / 361.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1429, allocations: 0 / 361.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.143, allocations: 8 kB / 361.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.143, allocations: 4 kB / 361.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.1431, allocations: 59.95 kB / 361.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.1439, allocations: 388.4 kB / 362.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.1443, allocations: 134.5 kB / 362.3 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1445, allocations: 44.83 kB / 362.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1445, allocations: 3.938 kB / 362.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.1445, allocations: 42.69 kB / 362.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1445, allocations: 0 / 362.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002437/0.147, allocations: 1.225 MB / 363.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.1471, allocations: 132.5 kB / 363.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1473, allocations: 178.9 kB / 363.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1473, allocations: 29.7 kB / 364 MB, free: 7.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.1474, allocations: 112.4 kB / 364.1 MB, free: 7.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.1475, allocations: 51.25 kB / 364.1 MB, free: 7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.1475, allocations: 26.92 kB / 364.2 MB, free: 6.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1477, allocations: 330.8 kB / 364.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1479, allocations: 99.94 kB / 364.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1481, allocations: 131.3 kB / 364.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.1484, allocations: 205 kB / 364.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1484, allocations: 4 kB / 364.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005631/0.149, allocations: 321.9 kB / 365.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.149, allocations: 4 kB / 365.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.1491, allocations: 4 kB / 365.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.1493, allocations: 44.81 kB / 365.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1494, allocations: 31.92 kB / 365.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.1508, allocations: 1.401 MB / 366.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1509, allocations: 16.12 kB / 366.7 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1509, allocations: 7.938 kB / 366.7 MB, free: 4.219 MB / 302.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.0001603/0.1511, allocations: 141.7 kB / 366.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1511, allocations: 15.81 kB / 366.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.1512, allocations: 25.52 kB / 366.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1512, allocations: 0 / 366.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1512, allocations: 0 / 366.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1512, allocations: 3.938 kB / 366.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1515, allocations: 249.6 kB / 367.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1515, allocations: 0 / 367.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.1518, allocations: 51.97 kB / 367.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1518, allocations: 0 / 367.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1518, allocations: 0 / 367.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1518, allocations: 7.938 kB / 367.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1518, allocations: 0 / 367.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.1524, allocations: 431.1 kB / 367.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.1525, allocations: 88.92 kB / 367.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1525, allocations: 0 / 367.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1526, allocations: 12.03 kB / 367.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1527, allocations: 7.984 kB / 367.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1527, allocations: 7.938 kB / 367.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1528, allocations: 131.5 kB / 367.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1529, allocations: 4 kB / 367.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001796/0.1547, allocations: 0.5078 MB / 368.4 MB, free: 2.465 MB / 302.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.002373/0.157, allocations: 1.4 MB / 369.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.1578, allocations: 395.7 kB / 370.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1578, allocations: 0 / 370.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.158, allocations: 95.89 kB / 370.3 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1583, allocations: 35.48 kB / 370.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2327/0.3911, allocations: 2.487 MB / 372.8 MB, free: 23.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3914, allocations: 0.7342 MB / 373.5 MB, free: 22.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3915, allocations: 31.31 kB / 373.6 MB, free: 22.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.3917, allocations: 46.05 kB / 373.6 MB, free: 22.37 MB / 302.1 MB Notification: Performance of SimCode: time 1.814e-06/0.3917, allocations: 3.219 kB / 373.6 MB, free: 22.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.4224, allocations: 9.486 MB / 383.1 MB, free: 19.87 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.4226, allocations: 269 kB / 383.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.639, allocations: 3.75 kB / 383.4 MB, free: 19.51 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Bessel.x[1],Bessel.x[2],Bessel.x[3] Variables in the result:Bessel.A_ripple,Bessel.analogFilter,Bessel.f_cut,Bessel.f_min,Bessel.filterType,Bessel.gain,Bessel.init,Bessel.normalized,Bessel.nx,Bessel.order,Bessel.u,Bessel.u_nominal,Bessel.x[1],Bessel.x[2],Bessel.x[3],Bessel.x_start[1],Bessel.x_start[2],Bessel.x_start[3],Bessel.y,Bessel.y_start,der(Bessel.x[1]),der(Bessel.x[2]),der(Bessel.x[3]),der(der(Bessel.x[2])),der(der(Bessel.x[3])),der(der(der(Bessel.x[3]))),der(der1.u),der(der2.u),der(der3.u),der1.u,der1.y,der2.u,der2.y,der3.u,der3.y,f_cut,step.height,step.offset,step.startTime,step.y,time