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.001244/0.001244, allocations: 101.3 kB / 16.5 MB, free: 6.648 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.001369/0.001369, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 47.97 kB / 300 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1011, allocations: 49.45 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003505/0.1046, allocations: 1.655 MB / 351.2 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.1103, allocations: 3.547 MB / 354.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1104, allocations: 4 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1108, allocations: 39.78 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.111, allocations: 15.91 kB / 354.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.1141, allocations: 1.064 MB / 355.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1143, allocations: 139.6 kB / 356 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1145, allocations: 33 kB / 356 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.1146, allocations: 47.84 kB / 356 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1147, allocations: 55.69 kB / 356.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1147, allocations: 4 kB / 356.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.1167, allocations: 1.362 MB / 357.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.1168, allocations: 31.91 kB / 357.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.1169, allocations: 59.59 kB / 357.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.1187, allocations: 1.181 MB / 358.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.1187, allocations: 3.984 kB / 358.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1187, allocations: 4 kB / 358.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.1188, allocations: 0 / 358.7 MB, free: 11.49 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.001835/0.1206, allocations: 0.5653 MB / 359.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1207, allocations: 8.031 kB / 359.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.016e-05/0.1207, allocations: 38.75 kB / 359.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.1208, allocations: 24.72 kB / 359.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.121, allocations: 204 kB / 359.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1211, allocations: 11.94 kB / 359.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.1211, allocations: 16 kB / 359.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1213, allocations: 124.6 kB / 359.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1214, allocations: 0 / 359.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1214, allocations: 0 / 359.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1214, allocations: 4 kB / 359.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1215, allocations: 59.89 kB / 359.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.1221, allocations: 388.5 kB / 360.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.1225, allocations: 130.5 kB / 360.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.1226, allocations: 36.84 kB / 360.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1226, allocations: 4 kB / 360.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1227, allocations: 34.55 kB / 360.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.676e-06/0.1227, allocations: 0 / 360.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002195/0.1249, allocations: 1.219 MB / 361.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.125, allocations: 132.5 kB / 361.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1251, allocations: 182.1 kB / 361.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1251, allocations: 25.7 kB / 361.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.1252, allocations: 116.4 kB / 362 MB, free: 7.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.1253, allocations: 47.25 kB / 362.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.1254, allocations: 49.7 kB / 362.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1255, allocations: 322.8 kB / 362.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1256, allocations: 99.94 kB / 362.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1258, allocations: 139.3 kB / 362.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.1262, allocations: 201 kB / 362.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1262, allocations: 0 / 362.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005424/0.1267, allocations: 310 kB / 363.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1267, allocations: 4 kB / 363.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.1268, allocations: 4 kB / 363.2 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.127, allocations: 52.75 kB / 363.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1271, allocations: 27.98 kB / 363.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.1282, allocations: 1.405 MB / 364.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.624e-05/0.1283, allocations: 11.97 kB / 364.7 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1284, allocations: 4 kB / 364.7 MB, free: 5.004 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.0001185/0.1285, allocations: 137.8 kB / 364.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.1285, allocations: 15.81 kB / 364.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.1286, allocations: 25.52 kB / 364.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1286, allocations: 0 / 364.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1286, allocations: 8.094 kB / 364.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1286, allocations: 7.875 kB / 364.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1289, allocations: 249.5 kB / 365.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1289, allocations: 0 / 365.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.1292, allocations: 47.97 kB / 365.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1292, allocations: 0 / 365.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1292, allocations: 0 / 365.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1292, allocations: 4 kB / 365.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1292, allocations: 0 / 365.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.1297, allocations: 419 kB / 365.6 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.1298, allocations: 88.92 kB / 365.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1298, allocations: 8.031 kB / 365.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1299, allocations: 8 kB / 365.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.13, allocations: 7.984 kB / 365.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.13, allocations: 7.938 kB / 365.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.1301, allocations: 128.6 kB / 365.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1301, allocations: 4 kB / 365.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001437/0.1315, allocations: 0.5117 MB / 366.3 MB, free: 3.258 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.001961/0.1335, allocations: 1.408 MB / 367.7 MB, free: 1.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006587/0.1342, allocations: 381.9 kB / 368.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1342, allocations: 0 / 368.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1344, allocations: 87.89 kB / 368.2 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1347, allocations: 27.92 kB / 368.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1498/0.2845, allocations: 2.469 MB / 370.7 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.2847, allocations: 0.7319 MB / 371.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.2849, allocations: 31.53 kB / 371.5 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.285, allocations: 46.53 kB / 371.5 MB, free: 23.59 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.285, allocations: 3.656 kB / 371.5 MB, free: 23.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.3097, allocations: 9.616 MB / 381.1 MB, free: 21.07 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.3099, allocations: 269.1 kB / 381.4 MB, free: 20.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.292, allocations: 3.938 kB / 381.4 MB, free: 20.71 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