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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_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.001386/0.001387, allocations: 114 kB / 17.28 MB, free: 6.219 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.001633/0.001634, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.737/1.737, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001246/0.001246, allocations: 48.16 kB / 280.2 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.123, allocations: 46.63 MB / 326.9 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003492/0.1266, allocations: 1.653 MB / 328.5 MB, free: 3.039 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.1324, allocations: 3.279 MB / 331.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1325, allocations: 0 / 331.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.1329, allocations: 47.77 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.133, allocations: 11.92 kB / 331.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.1363, allocations: 1.264 MB / 333.1 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1366, allocations: 155.6 kB / 333.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1367, allocations: 24.84 kB / 333.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.1368, allocations: 55.84 kB / 333.4 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1369, allocations: 55.75 kB / 333.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.137, allocations: 11.94 kB / 333.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.1384, allocations: 1.382 MB / 334.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.1385, allocations: 39.84 kB / 334.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1386, allocations: 51.66 kB / 334.9 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1398, allocations: 1.189 MB / 336.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.642e-05/0.1398, allocations: 4 kB / 336.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1398, allocations: 0 / 336.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1399, allocations: 0 / 336.1 MB, free: 11.46 MB / 286.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.001012/0.1409, allocations: 0.5613 MB / 336.6 MB, free: 10.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1409, allocations: 12.03 kB / 336.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.141, allocations: 38.73 kB / 336.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1411, allocations: 16.75 kB / 336.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1413, allocations: 212 kB / 336.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1414, allocations: 4.375 kB / 336.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.1414, allocations: 16.12 kB / 336.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.1417, allocations: 121.1 kB / 337.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1417, allocations: 0 / 337.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1417, allocations: 4 kB / 337.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.1418, allocations: 4 kB / 337.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1419, allocations: 63.83 kB / 337.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.1426, allocations: 384.5 kB / 337.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.143, allocations: 134.5 kB / 337.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.1431, allocations: 40.83 kB / 337.7 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1431, allocations: 0 / 337.7 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.1432, allocations: 38.56 kB / 337.7 MB, free: 9.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1432, allocations: 4 kB / 337.7 MB, free: 9.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002326/0.1455, allocations: 1.211 MB / 338.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1456, allocations: 132.5 kB / 339.1 MB, free: 8.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1459, allocations: 182.3 kB / 339.2 MB, free: 7.949 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1459, allocations: 29.7 kB / 339.3 MB, free: 7.914 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.146, allocations: 112.4 kB / 339.4 MB, free: 7.801 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.1461, allocations: 51.25 kB / 339.4 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.1462, allocations: 45.7 kB / 339.5 MB, free: 7.699 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1463, allocations: 322.8 kB / 339.8 MB, free: 7.375 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.1465, allocations: 107.9 kB / 339.9 MB, free: 7.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.1467, allocations: 135.4 kB / 340 MB, free: 7.125 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.147, allocations: 200.9 kB / 340.2 MB, free: 6.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.147, allocations: 0 / 340.2 MB, free: 6.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005369/0.1476, allocations: 306 kB / 340.5 MB, free: 6.617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1476, allocations: 4 kB / 340.5 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.1476, allocations: 7.984 kB / 340.5 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.1478, allocations: 44.83 kB / 340.6 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.148, allocations: 27.98 kB / 340.6 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.1495, allocations: 1.519 MB / 342.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.1496, allocations: 11.94 kB / 342.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1497, allocations: 7.984 kB / 342.1 MB, free: 4.852 MB / 286.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.0001364/0.1498, allocations: 141.9 kB / 342.3 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.1498, allocations: 11.81 kB / 342.3 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.509e-05/0.1499, allocations: 25.53 kB / 342.3 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1499, allocations: 0 / 342.3 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1499, allocations: 3.938 kB / 342.3 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.15, allocations: 4 kB / 342.3 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.1503, allocations: 245.5 kB / 342.6 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1503, allocations: 0 / 342.6 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.1505, allocations: 47.97 kB / 342.6 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1506, allocations: 0 / 342.6 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1506, allocations: 11.98 kB / 342.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1506, allocations: 4 kB / 342.6 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1506, allocations: 3.938 kB / 342.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.1512, allocations: 407.9 kB / 343 MB, free: 3.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1512, allocations: 88.92 kB / 343.1 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1513, allocations: 12 kB / 343.1 MB, free: 3.773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1514, allocations: 4.375 kB / 343.1 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.1515, allocations: 19.97 kB / 343.1 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1515, allocations: 0 / 343.1 MB, free: 3.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1516, allocations: 127.2 kB / 343.3 MB, free: 3.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1516, allocations: 3.938 kB / 343.3 MB, free: 3.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001616/0.1532, allocations: 0.5156 MB / 343.8 MB, free: 3.105 MB / 286.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.001976/0.1552, allocations: 1.39 MB / 345.2 MB, free: 1.691 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.156, allocations: 401.9 kB / 345.6 MB, free: 1.273 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1561, allocations: 0 / 345.6 MB, free: 1.273 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.1563, allocations: 91.88 kB / 345.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1566, allocations: 36.55 kB / 345.7 MB, free: 1.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.1599, allocations: 2.474 MB / 348.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1603, allocations: 0.7319 MB / 348.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.75e-05/0.1604, allocations: 29.06 kB / 348.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.1605, allocations: 47.42 kB / 349 MB, free: 13.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1605, allocations: 4 kB / 349 MB, free: 13.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.1887, allocations: 9.726 MB / 358.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.1889, allocations: 269.8 kB / 359 MB, free: 3.641 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.377, allocations: 3.938 kB / 359 MB, free: 3.637 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_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