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.001152/0.001152, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 60.44 kB / 307 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1065, allocations: 50.52 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002642/0.1092, allocations: 1.616 MB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.1137, allocations: 3.216 MB / 362.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.1138, allocations: 0 / 362.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1141, allocations: 63.69 kB / 362.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.1142, allocations: 7.875 kB / 362.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.1172, allocations: 1.434 MB / 363.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1174, allocations: 143.7 kB / 364 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.1175, allocations: 29.02 kB / 364.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/0.1175, allocations: 59.8 kB / 364.1 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.1176, allocations: 59.69 kB / 364.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1177, allocations: 8 kB / 364.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.1193, allocations: 1.378 MB / 365.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.1194, allocations: 35.91 kB / 365.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.1195, allocations: 55.66 kB / 365.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.1206, allocations: 1.201 MB / 366.9 MB, free: 4.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1207, allocations: 0 / 366.9 MB, free: 4.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1207, allocations: 0 / 366.9 MB, free: 4.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1207, allocations: 0 / 366.9 MB, free: 4.688 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.001023/0.1217, allocations: 0.5691 MB / 367.4 MB, free: 4.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1218, allocations: 8.031 kB / 367.4 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.1218, allocations: 42.73 kB / 367.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.1219, allocations: 16.75 kB / 367.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1221, allocations: 208.1 kB / 367.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1221, allocations: 8.312 kB / 367.7 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.1222, allocations: 16.12 kB / 367.7 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.1224, allocations: 127.8 kB / 367.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1224, allocations: 0 / 367.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1224, allocations: 4 kB / 367.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1224, allocations: 4 kB / 367.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1226, allocations: 51.95 kB / 367.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.1232, allocations: 392.4 kB / 368.3 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.1235, allocations: 126.5 kB / 368.4 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.1236, allocations: 40.83 kB / 368.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1236, allocations: 4 kB / 368.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1237, allocations: 38.56 kB / 368.5 MB, free: 2.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1237, allocations: 0 / 368.5 MB, free: 2.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002185/0.1259, allocations: 1.208 MB / 369.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.126, allocations: 128.6 kB / 369.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1261, allocations: 182.2 kB / 370 MB, free: 1.188 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1261, allocations: 33.7 kB / 370 MB, free: 1.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.1262, allocations: 112.4 kB / 370.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.1263, allocations: 51.25 kB / 370.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.1263, allocations: 45.7 kB / 370.2 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1265, allocations: 330.8 kB / 370.6 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1266, allocations: 91.95 kB / 370.7 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.1268, allocations: 136.5 kB / 370.8 MB, free: 376 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.1272, allocations: 213.5 kB / 371 MB, free: 160 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1272, allocations: 0 / 371 MB, free: 160 kB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.1269/0.2541, allocations: 298.9 kB / 371.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2541, allocations: 4.938 kB / 371.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.2541, allocations: 2.359 kB / 371.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.2543, allocations: 44.22 kB / 371.3 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2545, allocations: 33.47 kB / 371.4 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009744/0.2555, allocations: 1.516 MB / 372.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2556, allocations: 12.14 kB / 372.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.2557, allocations: 4.203 kB / 372.9 MB, free: 18.29 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.0001071/0.2558, allocations: 134.5 kB / 373 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.2558, allocations: 23.69 kB / 373.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.2559, allocations: 23.55 kB / 373.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2559, allocations: 1.906 kB / 373.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.2559, allocations: 0 / 373.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2559, allocations: 2.922 kB / 373.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.2561, allocations: 244.9 kB / 373.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2561, allocations: 4.406 kB / 373.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.2564, allocations: 52.5 kB / 373.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2564, allocations: 5.219 kB / 373.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2565, allocations: 4.422 kB / 373.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2565, allocations: 1.25 kB / 373.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2565, allocations: 1.156 kB / 373.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.2569, allocations: 414.1 kB / 373.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.257, allocations: 94.69 kB / 373.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.257, allocations: 6.156 kB / 373.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.2571, allocations: 5.703 kB / 373.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.2572, allocations: 11.28 kB / 373.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2572, allocations: 3.922 kB / 373.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.2573, allocations: 126.7 kB / 374 MB, free: 17.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2573, allocations: 0 / 374 MB, free: 17.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001426/0.2587, allocations: 0.5176 MB / 374.6 MB, free: 17.68 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.001512/0.2602, allocations: 1.398 MB / 376 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.2608, allocations: 402.6 kB / 376.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2608, allocations: 4.781 kB / 376.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.261, allocations: 87.64 kB / 376.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2613, allocations: 30.06 kB / 376.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.2638, allocations: 2.45 MB / 378.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.264, allocations: 0.7343 MB / 379.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.193e-05/0.2641, allocations: 32.86 kB / 379.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.2641, allocations: 44.31 kB / 379.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2641, allocations: 0 / 379.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.2924, allocations: 9.805 MB / 389.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.144/9.436, allocations: 16.06 kB / 389.6 MB, free: 11.41 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/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) Reference file matches