Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 118.2 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.001718/0.001719, 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.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2654, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003952/0.2694, allocations: 3.088 MB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2707, allocations: 0.7988 MB / 412.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2708, allocations: 4 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.271, allocations: 55.44 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.2712, allocations: 115.1 kB / 412.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.2715, allocations: 135.7 kB / 413 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.272, allocations: 462.2 kB / 413.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.2722, allocations: 142.9 kB / 413.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.2724, allocations: 175.4 kB / 413.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.2727, allocations: 191.1 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.2727, allocations: 44 kB / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.426e-05/0.2728, allocations: 44 kB / 414 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.811e-05/0.2729, allocations: 91.67 kB / 414.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.273, allocations: 195.1 kB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.2735, allocations: 0.4893 MB / 414.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2735, allocations: 0 / 414.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2735, allocations: 0 / 414.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.2735, allocations: 7.938 kB / 414.8 MB, free: 11.5 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.001261/0.2748, allocations: 0.7107 MB / 415.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2748, allocations: 12.03 kB / 415.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.2749, allocations: 58.73 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.275, allocations: 44.69 kB / 415.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.2754, allocations: 310.8 kB / 415.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2754, allocations: 24.94 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.2755, allocations: 28.12 kB / 416 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.2762, allocations: 351.6 kB / 416.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2762, allocations: 0 / 416.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2763, allocations: 12 kB / 416.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2763, allocations: 8 kB / 416.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.2771, allocations: 302 kB / 416.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.2791, allocations: 1.286 MB / 417.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.2798, allocations: 222.4 kB / 418.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.2802, allocations: 112.8 kB / 418.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.2802, allocations: 12.23 kB / 418.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004657/0.2807, allocations: 189.7 kB / 418.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2807, allocations: 0 / 418.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002315/0.283, allocations: 0.6818 MB / 419.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.2831, allocations: 110.8 kB / 419.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.2834, allocations: 295 kB / 419.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.2834, allocations: 29.7 kB / 419.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2836, allocations: 216 kB / 419.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.2836, allocations: 55.56 kB / 419.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.2837, allocations: 57.59 kB / 419.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2839, allocations: 338.8 kB / 420.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.2842, allocations: 111.9 kB / 420.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.2847, allocations: 219.8 kB / 420.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.2854, allocations: 326.2 kB / 420.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2854, allocations: 0 / 420.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001248/0.2867, allocations: 495.7 kB / 421.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.2867, allocations: 33.7 kB / 421.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2867, allocations: 4 kB / 421.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.2871, allocations: 88.8 kB / 421.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.2874, allocations: 55.89 kB / 421.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.2899, allocations: 1.998 MB / 423.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.2903, allocations: 59.86 kB / 423.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.2903, allocations: 12 kB / 423.6 MB, free: 2.152 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.2905, allocations: 157.7 kB / 423.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.2905, allocations: 27.81 kB / 423.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.2906, allocations: 29.8 kB / 423.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2906, allocations: 4 kB / 423.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2906, allocations: 4 kB / 423.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2906, allocations: 0 / 423.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.2909, allocations: 337.4 kB / 424.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2909, allocations: 0 / 424.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.2911, allocations: 39.91 kB / 424.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.2914, allocations: 80.8 kB / 424.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2914, allocations: 3.938 kB / 424.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.2937, allocations: 1.817 MB / 426.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2937, allocations: 0 / 426.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.2951, allocations: 497.4 kB / 426.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.2952, allocations: 112.9 kB / 426.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.2952, allocations: 3.938 kB / 426.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2955, allocations: 36.03 kB / 426.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.2956, allocations: 19.97 kB / 426.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2956, allocations: 4 kB / 426.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.2958, allocations: 214 kB / 426.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2958, allocations: 0 / 426.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.2962, allocations: 87.78 kB / 427 MB, free: 14.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.2979, allocations: 1.042 MB / 428.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.299, allocations: 448.1 kB / 428.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.299, allocations: 0 / 428.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.2994, allocations: 242.5 kB / 428.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2998, allocations: 53.36 kB / 428.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.3052, allocations: 3.33 MB / 432.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3056, allocations: 0.7639 MB / 432.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.3057, allocations: 30.97 kB / 432.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3058, allocations: 87.41 kB / 433 MB, free: 8.23 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3059, allocations: 0 / 433 MB, free: 8.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.3351, allocations: 7.386 MB / 440.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.46, allocations: 15.91 kB / 440.4 MB, free: 1.004 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_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_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches