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.00076/0.0007602, allocations: 92.2 kB / 17.3 MB, free: 6.395 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.001181/0.001181, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.478/1.478, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004591/0.000459, allocations: 14.97 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09315, allocations: 47.58 MB / 329 MB, free: 3.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00181/0.095, allocations: 1.319 MB / 330.4 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.1001, allocations: 3.534 MB / 333.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1003, allocations: 3.938 kB / 333.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1006, allocations: 47.83 kB / 333.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.1006, allocations: 7.922 kB / 334 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.1033, allocations: 1.068 MB / 335 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1036, allocations: 139.7 kB / 335.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1037, allocations: 20.89 kB / 335.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.1038, allocations: 55.72 kB / 335.2 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.1039, allocations: 47.7 kB / 335.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1039, allocations: 4 kB / 335.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1052, allocations: 1.374 MB / 336.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1053, allocations: 35.84 kB / 336.7 MB, free: 12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.1054, allocations: 69.38 kB / 336.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1064, allocations: 1.185 MB / 337.9 MB, free: 10.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1064, allocations: 0 / 337.9 MB, free: 10.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1064, allocations: 0 / 337.9 MB, free: 10.74 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1064, allocations: 0 / 337.9 MB, free: 10.74 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.0009276/0.1074, allocations: 0.5497 MB / 338.5 MB, free: 10.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.1074, allocations: 8.031 kB / 338.5 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.1075, allocations: 42.69 kB / 338.5 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1075, allocations: 12.75 kB / 338.6 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1078, allocations: 216.1 kB / 338.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1078, allocations: 4.375 kB / 338.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.1079, allocations: 12.12 kB / 338.8 MB, free: 9.805 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1081, allocations: 129 kB / 338.9 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1082, allocations: 3.984 kB / 338.9 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1082, allocations: 4 kB / 338.9 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1082, allocations: 4 kB / 338.9 MB, free: 9.648 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1084, allocations: 59.89 kB / 339 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.109, allocations: 388.4 kB / 339.4 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.1094, allocations: 122.6 kB / 339.5 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.1095, allocations: 44.83 kB / 339.5 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1095, allocations: 4 kB / 339.5 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1095, allocations: 38.69 kB / 339.6 MB, free: 8.934 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1095, allocations: 0 / 339.6 MB, free: 8.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002285/0.1118, allocations: 1.226 MB / 340.8 MB, free: 7.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.1119, allocations: 136.5 kB / 340.9 MB, free: 7.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1121, allocations: 174.3 kB / 341.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1121, allocations: 29.7 kB / 341.1 MB, free: 7.195 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.1122, allocations: 112.4 kB / 341.2 MB, free: 7.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1123, allocations: 51.27 kB / 341.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1123, allocations: 25.7 kB / 341.3 MB, free: 7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1124, allocations: 330.8 kB / 341.6 MB, free: 6.668 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1126, allocations: 99.95 kB / 341.7 MB, free: 6.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.1128, allocations: 131.4 kB / 341.9 MB, free: 6.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1131, allocations: 204.9 kB / 342.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1131, allocations: 0 / 342.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005226/0.1136, allocations: 318 kB / 342.4 MB, free: 5.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1137, allocations: 7.984 kB / 342.4 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.1137, allocations: 0 / 342.4 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.1139, allocations: 40.83 kB / 342.4 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.114, allocations: 39.91 kB / 342.5 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.1153, allocations: 1.405 MB / 343.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.1154, allocations: 12.02 kB / 343.9 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1154, allocations: 8.156 kB / 343.9 MB, free: 4.258 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.0001469/0.1156, allocations: 141.7 kB / 344 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1156, allocations: 19.75 kB / 344 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.1157, allocations: 17.53 kB / 344.1 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1157, allocations: 4 kB / 344.1 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1157, allocations: 0 / 344.1 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1157, allocations: 0 / 344.1 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.116, allocations: 249.5 kB / 344.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.116, allocations: 0 / 344.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.1162, allocations: 59.97 kB / 344.4 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1163, allocations: 3.984 kB / 344.4 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1163, allocations: 3.938 kB / 344.4 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1163, allocations: 0.6562 kB / 344.4 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1163, allocations: 0 / 344.4 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.1168, allocations: 424.2 kB / 344.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.1169, allocations: 88.92 kB / 344.9 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1169, allocations: 4 kB / 344.9 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.117, allocations: 8 kB / 344.9 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.1171, allocations: 8.031 kB / 344.9 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.1171, allocations: 7.938 kB / 344.9 MB, free: 3.148 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.882e-05/0.1172, allocations: 123.2 kB / 345 MB, free: 3.027 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1172, allocations: 0 / 345 MB, free: 3.027 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001479/0.1187, allocations: 0.5234 MB / 345.5 MB, free: 2.504 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.001879/0.1206, allocations: 1.394 MB / 346.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006703/0.1212, allocations: 393.9 kB / 347.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1213, allocations: 0 / 347.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1214, allocations: 95.88 kB / 347.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1218, allocations: 36.78 kB / 347.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1246, allocations: 2.507 MB / 350 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1249, allocations: 0.7283 MB / 350.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.323e-05/0.125, allocations: 37.05 kB / 350.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.1251, allocations: 47.36 kB / 350.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1251, allocations: 0 / 350.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.1485, allocations: 9.485 MB / 360.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.1488, allocations: 268.9 kB / 360.5 MB, free: 3.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.056, allocations: 64 / 360.5 MB, free: 3.254 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