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.001081/0.001081, allocations: 112 kB / 17.06 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.001035/0.001035, allocations: 194.9 kB / 18.01 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 35.94 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2734, allocations: 49.44 MB / 400.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008503/0.282, allocations: 7.889 MB / 408.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.2856, allocations: 1.862 MB / 410 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.2867, allocations: 23.94 kB / 410 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.2874, allocations: 237.7 kB / 410.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.2885, allocations: 464.2 kB / 410.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.2894, allocations: 0.4955 MB / 411.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.2911, allocations: 1.794 MB / 413 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007346/0.2918, allocations: 0.6052 MB / 413.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006822/0.2925, allocations: 0.6461 MB / 414.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.2932, allocations: 0.7195 MB / 415 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.2934, allocations: 180 kB / 415.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.2936, allocations: 176 kB / 415.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.2939, allocations: 354.8 kB / 415.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006245/0.2945, allocations: 0.7775 MB / 416.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.2962, allocations: 2.057 MB / 418.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2962, allocations: 0 / 418.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2962, allocations: 0 / 418.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.2963, allocations: 0 / 418.5 MB, free: 6.484 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.003086/0.2994, allocations: 1.823 MB / 420.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2994, allocations: 11.97 kB / 420.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.2996, allocations: 182 kB / 420.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.2998, allocations: 164 kB / 420.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3009, allocations: 0.7651 MB / 421.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.301, allocations: 94.45 kB / 421.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.3012, allocations: 120 kB / 421.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.3035, allocations: 1.305 MB / 423 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.3035, allocations: 0 / 423 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3036, allocations: 52 kB / 423 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.3037, allocations: 28 kB / 423 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.306, allocations: 1.125 MB / 424.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007124/0.3131, allocations: 4.966 MB / 429.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.3156, allocations: 1.223 MB / 430.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.3168, allocations: 0.5215 MB / 430.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.3168, allocations: 12.8 kB / 430.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.3169, allocations: 51.16 kB / 430.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.866e-06/0.3169, allocations: 0 / 430.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008408/0.3253, allocations: 2.933 MB / 433.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3254, allocations: 89.77 kB / 434 MB, free: 6.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009907/0.3264, allocations: 0.8136 MB / 434.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.3264, allocations: 41.7 kB / 434.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.3268, allocations: 0.5975 MB / 435.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.327, allocations: 301.5 kB / 435.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.3273, allocations: 162.6 kB / 435.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3274, allocations: 345.9 kB / 436.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008863/0.3283, allocations: 373.8 kB / 436.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.3293, allocations: 0.5894 MB / 437.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.3311, allocations: 0.9443 MB / 438.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.3312, allocations: 4 kB / 438.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003103/0.3343, allocations: 1.358 MB / 439.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3343, allocations: 8 kB / 439.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.3343, allocations: 11.98 kB / 439.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00076/0.3351, allocations: 226.7 kB / 439.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003483/0.3386, allocations: 0.8311 MB / 440.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.3515, allocations: 10.86 MB / 451.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/0.3525, allocations: 143.2 kB / 451.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.3526, allocations: 36 kB / 451.6 MB, free: 3.727 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.0005416/0.3531, allocations: 273.7 kB / 451.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.3534, allocations: 107.3 kB / 452 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.3536, allocations: 108.8 kB / 452.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3536, allocations: 8 kB / 452.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3536, allocations: 11.92 kB / 452.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3537, allocations: 3.984 kB / 452.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.3588, allocations: 2.448 MB / 454.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.3589, allocations: 4 kB / 454.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.3594, allocations: 127.9 kB / 454.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.3607, allocations: 428.8 kB / 455.1 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.3608, allocations: 19.98 kB / 455.1 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.3737, allocations: 10.89 MB / 466 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3738, allocations: 0 / 466 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004978/0.3787, allocations: 1.941 MB / 467.9 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.3792, allocations: 196.2 kB / 468.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.3794, allocations: 16 kB / 468.1 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/0.3803, allocations: 111.8 kB / 468.2 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.3804, allocations: 60.42 kB / 468.3 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.3805, allocations: 23.98 kB / 468.3 MB, free: 1.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008186/0.3813, allocations: 0.5498 MB / 468.9 MB, free: 1.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3813, allocations: 0 / 468.9 MB, free: 1.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001549/0.3829, allocations: 359.3 kB / 469.2 MB, free: 1.066 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.004993/0.3879, allocations: 2.519 MB / 471.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005867/0.3938, allocations: 1.991 MB / 473.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3938, allocations: 192 / 473.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.3961, allocations: 1.163 MB / 474.9 MB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.3978, allocations: 212.5 kB / 475.1 MB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.415, allocations: 9.281 MB / 484.4 MB, free: 1.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.4157, allocations: 1.074 MB / 485.5 MB, free: 320 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004555/0.4162, allocations: 107.5 kB / 485.6 MB, free: 208 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/0.4168, allocations: 427.4 kB / 486 MB, free: 15.78 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4168, allocations: 3.938 kB / 486 MB, free: 15.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0924/0.5092, allocations: 24.01 MB / 0.498 GB, free: 8.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.45, allocations: 6.156 kB / 0.4981 GB, free: 8.059 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