Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 63.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2563, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004539/0.2609, allocations: 3.088 MB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2623, allocations: 0.8026 MB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.2625, allocations: 4 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.2627, allocations: 55.44 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.2629, allocations: 115.1 kB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.2633, allocations: 131.8 kB / 413 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005157/0.2638, allocations: 466.1 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.2641, allocations: 142.9 kB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.2644, allocations: 191.3 kB / 413.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.2647, allocations: 187.2 kB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/0.2648, allocations: 44 kB / 414 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.2648, allocations: 44 kB / 414 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.2649, allocations: 87.75 kB / 414.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.2651, allocations: 195 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.2656, allocations: 497.2 kB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2657, allocations: 0 / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2657, allocations: 3.938 kB / 414.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.2657, allocations: 0 / 414.8 MB, free: 11.47 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00137/0.2671, allocations: 0.7263 MB / 415.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2671, allocations: 12.03 kB / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.604e-05/0.2672, allocations: 62.72 kB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.2673, allocations: 40.7 kB / 415.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.2677, allocations: 318.7 kB / 416 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.2678, allocations: 20.94 kB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.2679, allocations: 32.12 kB / 416 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.2686, allocations: 351.6 kB / 416.3 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2686, allocations: 0 / 416.3 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.2687, allocations: 12 kB / 416.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.2687, allocations: 8 kB / 416.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.2695, allocations: 314 kB / 416.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.2719, allocations: 1.256 MB / 417.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.2727, allocations: 335.5 kB / 418.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.2732, allocations: 136.8 kB / 418.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2732, allocations: 4 kB / 418.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.2737, allocations: 197.8 kB / 418.6 MB, free: 7.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.2737, allocations: 0 / 418.6 MB, free: 7.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002008/0.2757, allocations: 0.6395 MB / 419.2 MB, free: 6.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.2758, allocations: 102.8 kB / 419.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.2761, allocations: 303.1 kB / 419.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.2762, allocations: 37.7 kB / 419.7 MB, free: 6.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.2763, allocations: 212.4 kB / 419.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.2764, allocations: 55.48 kB / 419.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.2765, allocations: 65.58 kB / 420 MB, free: 5.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2767, allocations: 334.8 kB / 420.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.277, allocations: 124.2 kB / 420.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.2775, allocations: 213.3 kB / 420.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/0.2783, allocations: 343.1 kB / 421 MB, free: 4.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2783, allocations: 0 / 421 MB, free: 4.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001452/0.2797, allocations: 483.8 kB / 421.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.2798, allocations: 33.7 kB / 421.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.2798, allocations: 4 kB / 421.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.2801, allocations: 68.88 kB / 421.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.2804, allocations: 67.89 kB / 421.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.2827, allocations: 1.639 MB / 423.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.2831, allocations: 59.81 kB / 423.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.2831, allocations: 12 kB / 423.3 MB, free: 2.363 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.2833, allocations: 157.7 kB / 423.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.2834, allocations: 31.75 kB / 423.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.2834, allocations: 34.2 kB / 423.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2834, allocations: 0 / 423.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2834, allocations: 4 kB / 423.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2834, allocations: 3.938 kB / 423.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.285, allocations: 0.7887 MB / 424.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.285, allocations: 4 kB / 424.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.2853, allocations: 39.95 kB / 424.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.2855, allocations: 64.84 kB / 424.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.2855, allocations: 8 kB / 424.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.2876, allocations: 1.625 MB / 426.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2876, allocations: 96 / 426.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.289, allocations: 0.57 MB / 426.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-05/0.2891, allocations: 112.9 kB / 426.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2891, allocations: 8 kB / 426.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.2894, allocations: 31.97 kB / 426.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.2895, allocations: 19.97 kB / 426.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2895, allocations: 4 kB / 426.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.2898, allocations: 210 kB / 427 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2898, allocations: 0 / 427 MB, free: 14.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.2902, allocations: 87.84 kB / 427.1 MB, free: 14.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/0.2919, allocations: 1.111 MB / 428.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009822/0.2929, allocations: 453.2 kB / 428.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2929, allocations: 0.6875 kB / 428.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.2934, allocations: 242.5 kB / 428.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.2938, allocations: 60.69 kB / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.3007, allocations: 3.653 MB / 432.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3011, allocations: 0.7639 MB / 433.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.3013, allocations: 34.95 kB / 433.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3014, allocations: 95.41 kB / 433.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3014, allocations: 0 / 433.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.3359, allocations: 7.263 MB / 440.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.15, allocations: 3.984 kB / 440.8 MB, free: 0.5664 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches