Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00157/0.00157, allocations: 122.2 kB / 17.77 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 202 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 67.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2466, allocations: 50.54 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009391/0.2561, allocations: 7.886 MB / 416.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004902/0.261, allocations: 1.901 MB / 418.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.2622, allocations: 31.88 kB / 418.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.2631, allocations: 233.7 kB / 418.8 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.2643, allocations: 440.2 kB / 419.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.2653, allocations: 0.4955 MB / 419.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.2676, allocations: 1.802 MB / 421.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009107/0.2686, allocations: 0.6091 MB / 422.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.2695, allocations: 0.6383 MB / 422.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008411/0.2703, allocations: 0.7194 MB / 423.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.2705, allocations: 180 kB / 423.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.2708, allocations: 176 kB / 423.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.2711, allocations: 358.8 kB / 424.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007806/0.2719, allocations: 0.7737 MB / 425 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.274, allocations: 2.05 MB / 427.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2741, allocations: 4 kB / 427.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2741, allocations: 0 / 427.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-05/0.2741, allocations: 0 / 427.1 MB, free: 15.12 MB / 350.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.003541/0.2777, allocations: 1.819 MB / 428.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.2777, allocations: 20.02 kB / 428.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/0.2779, allocations: 178 kB / 429.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.2782, allocations: 164 kB / 429.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.2797, allocations: 0.7766 MB / 430 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.2798, allocations: 90.45 kB / 430.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.28, allocations: 120 kB / 430.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.2825, allocations: 1.316 MB / 431.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.2826, allocations: 3.938 kB / 431.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.2827, allocations: 52 kB / 431.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.2827, allocations: 28 kB / 431.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.2852, allocations: 1.118 MB / 432.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008564/0.2938, allocations: 4.954 MB / 437.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.2964, allocations: 1.211 MB / 438.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.2976, allocations: 0.5372 MB / 439.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.2976, allocations: 8.656 kB / 439.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.2977, allocations: 51.16 kB / 439.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.905e-06/0.2977, allocations: 0 / 439.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008603/0.3063, allocations: 2.936 MB / 442.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3064, allocations: 89.75 kB / 442.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.3077, allocations: 0.8059 MB / 443.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/0.3078, allocations: 41.7 kB / 443.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.3083, allocations: 0.6053 MB / 444 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.3086, allocations: 289.5 kB / 444.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.3089, allocations: 174.6 kB / 444.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3091, allocations: 345.9 kB / 444.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008837/0.31, allocations: 365.8 kB / 445.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.311, allocations: 0.5816 MB / 445.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.3129, allocations: 0.9481 MB / 446.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.313, allocations: 4 kB / 446.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003244/0.3162, allocations: 1.366 MB / 448 MB, free: 9.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.3162, allocations: 10.34 kB / 448 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.3163, allocations: 8.312 kB / 448 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/0.3171, allocations: 226.4 kB / 448.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/0.3204, allocations: 0.8311 MB / 449.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.3356, allocations: 10.84 MB / 459.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3367, allocations: 151.2 kB / 460.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.3369, allocations: 40 kB / 460.1 MB, free: 12.38 MB / 382.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.000689/0.3376, allocations: 273.5 kB / 460.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.3379, allocations: 103.3 kB / 460.5 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3381, allocations: 112.8 kB / 460.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3382, allocations: 11.94 kB / 460.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3382, allocations: 0 / 460.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3382, allocations: 11.98 kB / 460.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005553/0.3437, allocations: 2.452 MB / 463.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.3438, allocations: 0 / 463.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.3444, allocations: 127.8 kB / 463.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.3458, allocations: 416.9 kB / 463.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.3459, allocations: 16 kB / 463.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/0.3595, allocations: 10.9 MB / 474.5 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3596, allocations: 0 / 474.5 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/0.3643, allocations: 1.944 MB / 476.5 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.3647, allocations: 192.3 kB / 476.6 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.3649, allocations: 16 kB / 476.7 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/0.3657, allocations: 107.8 kB / 476.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.3658, allocations: 60.42 kB / 476.8 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.3659, allocations: 32.3 kB / 476.9 MB, free: 10.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008042/0.3667, allocations: 0.5459 MB / 477.4 MB, free: 10.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3667, allocations: 0 / 477.4 MB, free: 10.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00129/0.368, allocations: 363.2 kB / 477.8 MB, free: 9.719 MB / 398.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.005144/0.3732, allocations: 2.523 MB / 480.3 MB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00584/0.379, allocations: 2.002 MB / 482.3 MB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.3791, allocations: 0 / 482.3 MB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001827/0.3809, allocations: 1.164 MB / 483.5 MB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3824, allocations: 201.6 kB / 483.6 MB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.4005, allocations: 9.271 MB / 492.9 MB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/0.4015, allocations: 1.078 MB / 494 MB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.402, allocations: 95.5 kB / 494.1 MB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/0.4026, allocations: 435.2 kB / 494.5 MB, free: 8.445 MB / 414.1 MB Notification: Performance of SimCode: time 2.866e-06/0.4027, allocations: 0 / 494.5 MB, free: 8.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07239/0.475, allocations: 24 MB / 0.5064 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.37, allocations: 18.27 kB / 0.5064 GB, free: 0.7109 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches