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.001077/0.001077, allocations: 107.4 kB / 16.92 MB, free: 5.668 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.00108/0.00108, allocations: 191 kB / 17.85 MB, free: 5.176 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.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 45.89 kB / 300.7 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.104, allocations: 49.45 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008634/0.1127, allocations: 7.861 MB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.1165, allocations: 1.87 MB / 359.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.1178, allocations: 27.88 kB / 359.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000807/0.1187, allocations: 233.7 kB / 360.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.1201, allocations: 436.3 kB / 360.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1212, allocations: 0.4955 MB / 361.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.1233, allocations: 1.802 MB / 362.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009358/0.1243, allocations: 0.6052 MB / 363.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008851/0.1252, allocations: 0.6344 MB / 364.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000961/0.1261, allocations: 0.7155 MB / 364.8 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.1265, allocations: 183.9 kB / 365 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.1269, allocations: 180 kB / 365.2 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.1272, allocations: 350.8 kB / 365.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000974/0.1282, allocations: 0.7775 MB / 366.3 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.13, allocations: 2.029 MB / 368.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.13, allocations: 0 / 368.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.13, allocations: 0 / 368.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.1301, allocations: 7.938 kB / 368.4 MB, free: 2.035 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.00329/0.1334, allocations: 1.789 MB / 370.2 MB, free: 196 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1334, allocations: 8.031 kB / 370.2 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1668/0.3002, allocations: 186.3 kB / 370.3 MB, free: 24.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.3008, allocations: 157 kB / 370.5 MB, free: 24.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.3022, allocations: 0.7301 MB / 371.2 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.3023, allocations: 92.17 kB / 371.3 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3024, allocations: 119.7 kB / 371.4 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.3048, allocations: 1.312 MB / 372.7 MB, free: 24.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.3048, allocations: 8.375 kB / 372.8 MB, free: 24.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-05/0.3049, allocations: 54.81 kB / 372.8 MB, free: 24.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.305, allocations: 28.88 kB / 372.8 MB, free: 24.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.3074, allocations: 1.116 MB / 373.9 MB, free: 23.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007221/0.3146, allocations: 4.98 MB / 378.9 MB, free: 20.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.317, allocations: 1.214 MB / 380.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.3181, allocations: 0.5241 MB / 380.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.3181, allocations: 9.25 kB / 380.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3182, allocations: 49 kB / 380.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 4.157e-06/0.3182, allocations: 4 kB / 380.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01263/0.3308, allocations: 2.928 MB / 383.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.331, allocations: 94.28 kB / 383.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.3336, allocations: 0.8102 MB / 384.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.3338, allocations: 37.95 kB / 384.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/0.3343, allocations: 0.5864 MB / 385.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.3347, allocations: 283.4 kB / 385.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005253/0.3352, allocations: 165.5 kB / 385.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3354, allocations: 341.9 kB / 386 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.3368, allocations: 367.6 kB / 386.3 MB, free: 17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.3385, allocations: 0.587 MB / 386.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.3416, allocations: 0.9489 MB / 387.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/0.3417, allocations: 1.094 kB / 387.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005074/0.3467, allocations: 1.36 MB / 389.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.3468, allocations: 7.875 kB / 389.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.3468, allocations: 7.906 kB / 389.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.348, allocations: 231.1 kB / 389.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005159/0.3531, allocations: 0.8356 MB / 390.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.3646, allocations: 10.85 MB / 401.1 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.3657, allocations: 146.2 kB / 401.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/0.3658, allocations: 43.56 kB / 401.3 MB, free: 4.801 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.000479/0.3663, allocations: 272.7 kB / 401.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.3665, allocations: 94.12 kB / 401.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.3667, allocations: 106 kB / 401.8 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3667, allocations: 15.94 kB / 401.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.3667, allocations: 0 / 401.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3667, allocations: 7.984 kB / 401.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/0.3714, allocations: 2.45 MB / 404.3 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3715, allocations: 0 / 404.3 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.372, allocations: 123.9 kB / 404.4 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.3732, allocations: 428.4 kB / 404.8 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.3733, allocations: 20 kB / 404.8 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.3859, allocations: 10.9 MB / 415.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3859, allocations: 3.938 kB / 415.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004661/0.3906, allocations: 1.936 MB / 417.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.391, allocations: 187.8 kB / 417.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.3912, allocations: 16 kB / 417.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008343/0.392, allocations: 99.91 kB / 418 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.3922, allocations: 64.42 kB / 418 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.3923, allocations: 27.92 kB / 418 MB, free: 3.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000759/0.393, allocations: 0.5498 MB / 418.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.393, allocations: 0 / 418.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001393/0.3944, allocations: 359 kB / 418.9 MB, free: 2.301 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.004855/0.3993, allocations: 2.523 MB / 421.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006107/0.4054, allocations: 2.024 MB / 423.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.4054, allocations: 0 / 423.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.407, allocations: 1.159 MB / 424.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.4082, allocations: 206.6 kB / 424.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.4248, allocations: 9.864 MB / 434.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007955/0.4257, allocations: 1.078 MB / 435.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005166/0.4262, allocations: 103.5 kB / 435.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.4267, allocations: 427.3 kB / 436.3 MB, free: 344 kB / 334.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4267, allocations: 0 / 436.3 MB, free: 344 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0567/0.4835, allocations: 23.54 MB / 459.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.22, allocations: 0 / 459.8 MB, free: 9.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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