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.001455/0.001455, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001699/0.001699, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2365, allocations: 50.55 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002524/0.2391, allocations: 1.63 MB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004643/0.2437, allocations: 3.202 MB / 413.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2439, allocations: 3.938 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.2442, allocations: 51.77 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.2443, allocations: 15.8 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.2475, allocations: 1.428 MB / 415.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.2478, allocations: 147.6 kB / 415.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.2479, allocations: 21.06 kB / 415.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.838e-05/0.248, allocations: 59.81 kB / 415.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.355e-05/0.2481, allocations: 51.72 kB / 415.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2481, allocations: 15.94 kB / 415.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.2496, allocations: 1.386 MB / 416.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.2497, allocations: 39.89 kB / 416.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.2498, allocations: 51.67 kB / 416.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.251, allocations: 1.201 MB / 418 MB, free: 8.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.251, allocations: 0 / 418 MB, free: 8.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.251, allocations: 0 / 418 MB, free: 8.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.251, allocations: 0 / 418 MB, free: 8.258 MB / 334.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.0009313/0.2519, allocations: 0.5688 MB / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.252, allocations: 12.02 kB / 418.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.252, allocations: 42.69 kB / 418.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.2521, allocations: 20.84 kB / 418.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.2523, allocations: 216.2 kB / 418.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2524, allocations: 4.375 kB / 418.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.2524, allocations: 16.12 kB / 418.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.2526, allocations: 125 kB / 419 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2527, allocations: 3.984 kB / 419 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2527, allocations: 7.984 kB / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2527, allocations: 4 kB / 419.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2528, allocations: 47.97 kB / 419.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.2535, allocations: 384.5 kB / 419.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.2538, allocations: 126.6 kB / 419.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.2539, allocations: 48.83 kB / 419.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.254, allocations: 8.125 kB / 419.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.254, allocations: 30.56 kB / 419.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.254, allocations: 0 / 419.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002563/0.2566, allocations: 1.227 MB / 420.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.2566, allocations: 132.5 kB / 421 MB, free: 4.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2568, allocations: 178.2 kB / 421.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2568, allocations: 29.7 kB / 421.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.2569, allocations: 112.5 kB / 421.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.257, allocations: 47.59 kB / 421.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.257, allocations: 45.7 kB / 421.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2572, allocations: 334.8 kB / 421.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.2573, allocations: 91.95 kB / 421.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.2575, allocations: 141.5 kB / 422 MB, free: 3.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.2579, allocations: 200.7 kB / 422.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2579, allocations: 3.938 kB / 422.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005192/0.2584, allocations: 314.2 kB / 422.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2584, allocations: 4 kB / 422.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.2584, allocations: 4 kB / 422.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.2586, allocations: 36.83 kB / 422.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.2588, allocations: 39.91 kB / 422.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.26, allocations: 1.511 MB / 424.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2602, allocations: 8.016 kB / 424.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.2602, allocations: 8.156 kB / 424.1 MB, free: 1.633 MB / 334.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.0001194/0.2603, allocations: 138 kB / 424.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.2604, allocations: 15.91 kB / 424.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.2604, allocations: 25.56 kB / 424.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2604, allocations: 0 / 424.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2604, allocations: 3.938 kB / 424.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2604, allocations: 11.92 kB / 424.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2607, allocations: 241.6 kB / 424.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2607, allocations: 0 / 424.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.261, allocations: 67.89 kB / 424.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.261, allocations: 0 / 424.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.261, allocations: 0 / 424.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.261, allocations: 0 / 424.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2611, allocations: 3.938 kB / 424.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.2616, allocations: 407.3 kB / 425 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2616, allocations: 89.02 kB / 425.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.2617, allocations: 4 kB / 425.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2618, allocations: 12.41 kB / 425.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.2619, allocations: 7.938 kB / 425.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.2619, allocations: 4 kB / 425.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.535e-05/0.262, allocations: 128.2 kB / 425.3 MB, free: 416 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.262, allocations: 3.938 kB / 425.3 MB, free: 412 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001363/0.2633, allocations: 0.5193 MB / 425.8 MB, free: 15.88 MB / 350.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.001912/0.2653, allocations: 1.383 MB / 427.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.266, allocations: 389.9 kB / 427.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.2661, allocations: 7.984 kB / 427.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.2662, allocations: 87.89 kB / 427.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2666, allocations: 35.95 kB / 427.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.2699, allocations: 2.451 MB / 430.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2702, allocations: 0.7358 MB / 430.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.2703, allocations: 33.25 kB / 430.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/0.2704, allocations: 43.42 kB / 430.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2704, allocations: 0 / 430.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.303, allocations: 9.902 MB / 440.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.387/9.691, allocations: 7.875 kB / 440.8 MB, free: 0.7695 MB / 350.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