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.00239/0.00239, allocations: 116.2 kB / 17.06 MB, free: 6 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.003021/0.003022, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.962/2.962, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 55.91 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3982, allocations: 49.43 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01197/0.4102, allocations: 7.868 MB / 408.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.4169, allocations: 1.866 MB / 410 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.4185, allocations: 27.88 kB / 410 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008088/0.4193, allocations: 241.7 kB / 410.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.4211, allocations: 436.2 kB / 410.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.4226, allocations: 0.4955 MB / 411.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.4244, allocations: 1.806 MB / 413 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008684/0.4253, allocations: 0.5974 MB / 413.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.426, allocations: 0.6422 MB / 414.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000784/0.4268, allocations: 0.7117 MB / 414.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.427, allocations: 176 kB / 415.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.4272, allocations: 187.9 kB / 415.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.4275, allocations: 354.8 kB / 415.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006332/0.4281, allocations: 0.7776 MB / 416.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.4299, allocations: 2.049 MB / 418.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4299, allocations: 0 / 418.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4299, allocations: 0 / 418.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.835e-05/0.43, allocations: 0 / 418.5 MB, free: 6.488 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.003384/0.4333, allocations: 1.785 MB / 420.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4334, allocations: 12.03 kB / 420.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.4336, allocations: 186 kB / 420.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.4339, allocations: 159.1 kB / 420.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.4351, allocations: 0.7605 MB / 421.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/0.4351, allocations: 90.45 kB / 421.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.4353, allocations: 120 kB / 421.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.4379, allocations: 1.311 MB / 422.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.4379, allocations: 0 / 422.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.438, allocations: 52 kB / 422.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.438, allocations: 28 kB / 423 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.4407, allocations: 1.129 MB / 424.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008047/0.4488, allocations: 4.949 MB / 429 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/0.4513, allocations: 1.216 MB / 430.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.4525, allocations: 0.5215 MB / 430.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.023e-05/0.4526, allocations: 16.62 kB / 430.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.4526, allocations: 43.22 kB / 430.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 3.126e-06/0.4527, allocations: 4 kB / 430.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.009162/0.4618, allocations: 2.936 MB / 433.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.4619, allocations: 85.77 kB / 433.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.4634, allocations: 0.802 MB / 434.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/0.4635, allocations: 45.7 kB / 434.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/0.4641, allocations: 0.5919 MB / 435.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.4644, allocations: 276 kB / 435.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.4647, allocations: 170.5 kB / 435.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4649, allocations: 345.9 kB / 436.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.4659, allocations: 373.8 kB / 436.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.4671, allocations: 0.5816 MB / 437 MB, free: 3.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.4692, allocations: 0.9559 MB / 438 MB, free: 2.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.4692, allocations: 4 kB / 438 MB, free: 2.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003819/0.4731, allocations: 1.354 MB / 439.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4731, allocations: 8 kB / 439.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.4731, allocations: 8 kB / 439.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009255/0.4741, allocations: 230.9 kB / 439.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/0.4779, allocations: 0.8311 MB / 440.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/0.4927, allocations: 10.84 MB / 451.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.494, allocations: 146.9 kB / 451.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.4941, allocations: 43.92 kB / 451.4 MB, free: 3.832 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.0006637/0.4948, allocations: 269.6 kB / 451.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.4951, allocations: 98.88 kB / 451.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.4954, allocations: 112.8 kB / 451.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4954, allocations: 12 kB / 451.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.4954, allocations: 4 kB / 451.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.4954, allocations: 7.922 kB / 451.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/0.5013, allocations: 2.448 MB / 454.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5013, allocations: 7.984 kB / 454.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.502, allocations: 123.8 kB / 454.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.5034, allocations: 424.9 kB / 454.9 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.5035, allocations: 16 kB / 454.9 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/0.5174, allocations: 10.89 MB / 465.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5175, allocations: 0 / 465.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.5228, allocations: 1.948 MB / 467.8 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.5234, allocations: 183.8 kB / 467.9 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.5237, allocations: 16 kB / 468 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009841/0.5247, allocations: 107.9 kB / 468.1 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.5249, allocations: 60.47 kB / 468.1 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.525, allocations: 20 kB / 468.1 MB, free: 2.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000989/0.526, allocations: 0.5537 MB / 468.7 MB, free: 1.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.526, allocations: 0 / 468.7 MB, free: 1.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001634/0.5276, allocations: 359 kB / 469 MB, free: 1.195 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.005303/0.533, allocations: 2.515 MB / 471.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006308/0.5393, allocations: 1.994 MB / 473.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.5393, allocations: 1.062 kB / 473.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.5412, allocations: 1.155 MB / 474.7 MB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.5427, allocations: 218.8 kB / 474.9 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.5608, allocations: 9.241 MB / 484.2 MB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.5619, allocations: 1.078 MB / 485.2 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005482/0.5625, allocations: 99.5 kB / 485.3 MB, free: 400 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006142/0.5631, allocations: 431.3 kB / 485.8 MB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5632, allocations: 0 / 485.8 MB, free: 15.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06639/0.6296, allocations: 24.49 MB / 0.4983 GB, free: 7.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 28.66/29.29, allocations: 10.66 kB / 0.4983 GB, free: 7.766 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 & /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