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.001503/0.001503, allocations: 109.8 kB / 16.92 MB, free: 5.781 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.00175/0.00175, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.364/1.364, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009581/0.0009581, allocations: 46.22 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08847, allocations: 49.45 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008398/0.09691, allocations: 7.86 MB / 358 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.1011, allocations: 1.866 MB / 359.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008307/0.102, allocations: 31.81 kB / 359.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.1026, allocations: 233.7 kB / 360.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009976/0.1036, allocations: 440.2 kB / 360.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.1044, allocations: 0.4955 MB / 361.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.1061, allocations: 1.79 MB / 362.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.1069, allocations: 0.6129 MB / 363.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.1076, allocations: 0.6384 MB / 364.1 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.1084, allocations: 0.7156 MB / 364.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.1087, allocations: 179.9 kB / 365 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.1089, allocations: 180 kB / 365.2 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.1092, allocations: 362.7 kB / 365.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007809/0.11, allocations: 0.7698 MB / 366.3 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.1119, allocations: 2.029 MB / 368.4 MB, free: 2.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.1119, allocations: 3.938 kB / 368.4 MB, free: 2.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.112, allocations: 0 / 368.4 MB, free: 2.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.112, allocations: 0 / 368.4 MB, free: 2.027 MB / 302.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.003395/0.1154, allocations: 1.793 MB / 370.1 MB, free: 184 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.1155, allocations: 12.03 kB / 370.2 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1663/0.2817, allocations: 175.9 kB / 370.3 MB, free: 24.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.2823, allocations: 156.3 kB / 370.5 MB, free: 24.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.2835, allocations: 0.7351 MB / 371.2 MB, free: 24.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/0.2835, allocations: 93.08 kB / 371.3 MB, free: 24.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.2837, allocations: 121 kB / 371.4 MB, free: 24.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.2862, allocations: 1.313 MB / 372.7 MB, free: 24.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.2863, allocations: 5.406 kB / 372.7 MB, free: 24.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.2864, allocations: 51.91 kB / 372.8 MB, free: 24.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.2864, allocations: 31.22 kB / 372.8 MB, free: 24.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.289, allocations: 1.117 MB / 373.9 MB, free: 23.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007641/0.2966, allocations: 4.98 MB / 378.9 MB, free: 20.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.2993, allocations: 1.214 MB / 380.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.3005, allocations: 0.526 MB / 380.7 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.3006, allocations: 13.89 kB / 380.7 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3006, allocations: 45.34 kB / 380.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.905e-06/0.3006, allocations: 0 / 380.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.00975/0.3104, allocations: 2.929 MB / 383.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3105, allocations: 94.52 kB / 383.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.3119, allocations: 0.811 MB / 384.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.312, allocations: 38.3 kB / 384.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.3123, allocations: 0.5858 MB / 385.2 MB, free: 17.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.3125, allocations: 282.3 kB / 385.5 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.3128, allocations: 165.4 kB / 385.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.3129, allocations: 343.6 kB / 385.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008703/0.3138, allocations: 375.3 kB / 386.3 MB, free: 16.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.3148, allocations: 0.5792 MB / 386.9 MB, free: 16.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.3165, allocations: 0.9527 MB / 387.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3166, allocations: 2.125 kB / 387.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003077/0.3196, allocations: 1.36 MB / 389.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3197, allocations: 7.281 kB / 389.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.3197, allocations: 7.062 kB / 389.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008065/0.3205, allocations: 226.9 kB / 389.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/0.3241, allocations: 0.8412 MB / 390.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.3355, allocations: 10.85 MB / 401.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.3366, allocations: 142.1 kB / 401.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.3366, allocations: 47.58 kB / 401.3 MB, free: 4.75 MB / 302.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.0004284/0.3371, allocations: 272.8 kB / 401.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3372, allocations: 97.62 kB / 401.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.3374, allocations: 101.5 kB / 401.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3374, allocations: 8 kB / 401.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.3374, allocations: 8 kB / 401.8 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3374, allocations: 3.984 kB / 401.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.3419, allocations: 2.461 MB / 404.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3419, allocations: 0 / 404.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.3424, allocations: 115.9 kB / 404.4 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.3437, allocations: 432.8 kB / 404.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.3437, allocations: 21.03 kB / 404.8 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.3563, allocations: 10.89 MB / 415.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.3564, allocations: 7.969 kB / 415.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/0.3612, allocations: 1.945 MB / 417.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.3616, allocations: 183.8 kB / 417.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.3618, allocations: 20 kB / 417.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/0.3626, allocations: 103.9 kB / 418 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.3628, allocations: 56.42 kB / 418 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.3629, allocations: 31.94 kB / 418 MB, free: 3.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007554/0.3636, allocations: 0.5536 MB / 418.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3636, allocations: 0 / 418.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001491/0.3651, allocations: 363 kB / 419 MB, free: 2.27 MB / 318.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.005049/0.3702, allocations: 2.511 MB / 421.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006302/0.3765, allocations: 2.023 MB / 423.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.3766, allocations: 0 / 423.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.3783, allocations: 1.158 MB / 424.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3796, allocations: 209.7 kB / 424.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.3959, allocations: 9.862 MB / 434.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.3966, allocations: 1.078 MB / 435.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004703/0.3971, allocations: 95.52 kB / 435.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.3976, allocations: 431.2 kB / 436.3 MB, free: 324 kB / 334.1 MB Notification: Performance of SimCode: time 1.153e-06/0.3976, allocations: 0 / 436.3 MB, free: 324 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/0.4527, allocations: 23.54 MB / 459.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.79, allocations: 3.281 kB / 459.9 MB, free: 9.047 MB / 366.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