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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 227.4 MB / 246.4 MB, free: 9.133 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 61.19 kB / 306.5 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08136, allocations: 50.53 MB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00255/0.08394, allocations: 1.682 MB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004152/0.08811, allocations: 3.266 MB / 362 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.08822, allocations: 3.938 kB / 362 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.08852, allocations: 43.83 kB / 362.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.08858, allocations: 11.86 kB / 362.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.09133, allocations: 1.279 MB / 363.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.09153, allocations: 143.7 kB / 363.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.09164, allocations: 37.02 kB / 363.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.09172, allocations: 55.78 kB / 363.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.0918, allocations: 47.72 kB / 363.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.09183, allocations: 8 kB / 363.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.09313, allocations: 1.393 MB / 365 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.09321, allocations: 31.92 kB / 365.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.09326, allocations: 47.67 kB / 365.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.09418, allocations: 1.193 MB / 366.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.0942, allocations: 0 / 366.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.0942, allocations: 3.938 kB / 366.3 MB, free: 4.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.09422, allocations: 3.938 kB / 366.3 MB, free: 4.828 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.0008681/0.09509, allocations: 0.5614 MB / 366.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.09513, allocations: 8.031 kB / 366.9 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.09518, allocations: 42.73 kB / 366.9 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.09523, allocations: 16.75 kB / 366.9 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.09545, allocations: 216 kB / 367.2 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.09546, allocations: 12.31 kB / 367.2 MB, free: 3.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.0955, allocations: 20.06 kB / 367.2 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.09574, allocations: 123.5 kB / 367.3 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.09576, allocations: 0 / 367.3 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.09577, allocations: 4 kB / 367.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.09578, allocations: 4 kB / 367.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.09592, allocations: 59.95 kB / 367.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.09646, allocations: 380.4 kB / 367.7 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.09679, allocations: 134.5 kB / 367.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.09688, allocations: 36.84 kB / 367.9 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.0969, allocations: 7.984 kB / 367.9 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.09693, allocations: 30.56 kB / 368 MB, free: 3.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.09693, allocations: 0 / 368 MB, free: 3.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002044/0.09898, allocations: 1.223 MB / 369.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.09906, allocations: 128.5 kB / 369.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.0992, allocations: 178.3 kB / 369.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.09922, allocations: 25.7 kB / 369.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.09929, allocations: 116.4 kB / 369.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.09934, allocations: 43.27 kB / 369.7 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.09941, allocations: 49.7 kB / 369.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.09952, allocations: 326.8 kB / 370 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.09969, allocations: 95.94 kB / 370.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.09987, allocations: 140.4 kB / 370.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.1002, allocations: 205.7 kB / 370.5 MB, free: 304 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1002, allocations: 0 / 370.5 MB, free: 304 kB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.1401/0.2403, allocations: 304.4 kB / 370.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2403, allocations: 5.75 kB / 370.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.2403, allocations: 2.359 kB / 370.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.2405, allocations: 47.19 kB / 370.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.2407, allocations: 28.94 kB / 370.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/0.2417, allocations: 1.517 MB / 372.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2418, allocations: 10.17 kB / 372.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.2419, allocations: 6.094 kB / 372.4 MB, free: 18.17 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.0001065/0.242, allocations: 132.4 kB / 372.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.242, allocations: 19.69 kB / 372.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.2421, allocations: 32.56 kB / 372.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2421, allocations: 1.562 kB / 372.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2421, allocations: 0 / 372.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2421, allocations: 1.969 kB / 372.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.2423, allocations: 244.7 kB / 372.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2423, allocations: 1 kB / 372.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.2426, allocations: 50.12 kB / 372.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2426, allocations: 8.312 kB / 372.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2427, allocations: 7.781 kB / 372.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2427, allocations: 1.594 kB / 372.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2427, allocations: 0.6875 kB / 372.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.2432, allocations: 411.1 kB / 373.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.2432, allocations: 91.36 kB / 373.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.2432, allocations: 11.59 kB / 373.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2434, allocations: 4.766 kB / 373.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.2434, allocations: 12.61 kB / 373.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.2434, allocations: 2.312 kB / 373.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.317e-05/0.2435, allocations: 126.1 kB / 373.5 MB, free: 17.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2435, allocations: 0 / 373.5 MB, free: 17.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001364/0.2449, allocations: 0.5129 MB / 374 MB, free: 17.56 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.00172/0.2466, allocations: 1.399 MB / 375.4 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.2472, allocations: 406.8 kB / 375.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2472, allocations: 1.375 kB / 375.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.2474, allocations: 85.38 kB / 375.9 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2477, allocations: 29.38 kB / 375.9 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.2503, allocations: 2.496 MB / 378.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2504, allocations: 0.7323 MB / 379.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.639e-05/0.2505, allocations: 28.98 kB / 379.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.2506, allocations: 44.53 kB / 379.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2506, allocations: 0 / 379.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4805/0.7311, allocations: 9.721 MB / 388.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.7313, allocations: 269.2 kB / 389.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.754, allocations: 0 / 389.2 MB, free: 11.15 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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