Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",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.001291/0.001291, allocations: 116.1 kB / 17.07 MB, free: 5.992 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.001202/0.001202, allocations: 196 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 47.92 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2554, allocations: 49.43 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009204/0.2647, allocations: 7.882 MB / 408.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.2685, allocations: 1.855 MB / 410 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007563/0.2693, allocations: 31.81 kB / 410 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.2699, allocations: 245.6 kB / 410.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00091/0.2708, allocations: 428.3 kB / 410.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009444/0.2718, allocations: 0.5072 MB / 411.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.2737, allocations: 1.794 MB / 413 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.2746, allocations: 0.6013 MB / 413.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007979/0.2754, allocations: 0.6461 MB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008549/0.2763, allocations: 0.7117 MB / 415 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.2765, allocations: 176 kB / 415.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.2768, allocations: 180 kB / 415.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.2771, allocations: 362.8 kB / 415.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007441/0.2779, allocations: 0.7736 MB / 416.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.28, allocations: 2.058 MB / 418.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.28, allocations: 0 / 418.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.923e-06/0.2801, allocations: 0 / 418.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.813e-05/0.2801, allocations: 7.938 kB / 418.5 MB, free: 6.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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003484/0.2836, allocations: 1.815 MB / 420.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2836, allocations: 12.03 kB / 420.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.2839, allocations: 182 kB / 420.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.2841, allocations: 168 kB / 420.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.2853, allocations: 0.7651 MB / 421.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.2854, allocations: 94.45 kB / 421.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.2856, allocations: 120 kB / 421.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.2881, allocations: 1.309 MB / 422.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.2882, allocations: 0 / 422.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.2883, allocations: 56 kB / 423 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.2883, allocations: 28 kB / 423 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.2909, allocations: 1.125 MB / 424.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/0.299, allocations: 4.962 MB / 429.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.3016, allocations: 1.216 MB / 430.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.3028, allocations: 0.5255 MB / 430.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.3028, allocations: 12.64 kB / 430.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.3029, allocations: 47.22 kB / 430.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.896e-06/0.3029, allocations: 0 / 430.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008881/0.3118, allocations: 2.937 MB / 433.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.3119, allocations: 85.77 kB / 433.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.313, allocations: 0.8136 MB / 434.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.3131, allocations: 41.7 kB / 434.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/0.3135, allocations: 0.6053 MB / 435.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.3138, allocations: 289.5 kB / 435.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.3141, allocations: 174.6 kB / 435.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3142, allocations: 349.9 kB / 436.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.3152, allocations: 369.7 kB / 436.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.3162, allocations: 0.5856 MB / 437.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.3182, allocations: 0.9519 MB / 438.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3182, allocations: 0 / 438.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003214/0.3214, allocations: 1.366 MB / 439.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3214, allocations: 8 kB / 439.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.3215, allocations: 8 kB / 439.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/0.3223, allocations: 230.7 kB / 439.7 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.3259, allocations: 0.8233 MB / 440.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.3401, allocations: 10.86 MB / 451.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.3412, allocations: 135.2 kB / 451.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/0.3413, allocations: 43.98 kB / 451.6 MB, free: 3.742 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005577/0.3419, allocations: 273.7 kB / 451.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.3421, allocations: 103.3 kB / 451.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.3423, allocations: 112.8 kB / 452 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3423, allocations: 8 kB / 452 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3423, allocations: 0 / 452 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3423, allocations: 11.92 kB / 452.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.3477, allocations: 2.456 MB / 454.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3477, allocations: 64 / 454.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.3482, allocations: 127.8 kB / 454.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.3496, allocations: 424.8 kB / 455 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.3497, allocations: 16 kB / 455.1 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.3634, allocations: 10.89 MB / 466 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3635, allocations: 3.938 kB / 466 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/0.3684, allocations: 1.952 MB / 467.9 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.3687, allocations: 196.3 kB / 468.1 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/0.3688, allocations: 12 kB / 468.1 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007835/0.3696, allocations: 103.9 kB / 468.2 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.3698, allocations: 64.41 kB / 468.3 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.3699, allocations: 24 kB / 468.3 MB, free: 1.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007993/0.3707, allocations: 0.5537 MB / 468.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3707, allocations: 0 / 468.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00139/0.3721, allocations: 359.3 kB / 469.2 MB, free: 1.078 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005187/0.3773, allocations: 2.511 MB / 471.7 MB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006061/0.3834, allocations: 1.995 MB / 473.7 MB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3834, allocations: 0 / 473.7 MB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.3852, allocations: 1.171 MB / 474.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3864, allocations: 218.8 kB / 475.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/0.4034, allocations: 9.275 MB / 484.4 MB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.4042, allocations: 1.07 MB / 485.4 MB, free: 340 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.4047, allocations: 103.4 kB / 485.5 MB, free: 232 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.4052, allocations: 431.4 kB / 486 MB, free: 15.8 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4053, allocations: 4 kB / 486 MB, free: 15.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0681/0.4734, allocations: 24.01 MB / 0.498 GB, free: 8.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.88, allocations: 7.688 kB / 0.498 GB, free: 8.066 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches