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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 181.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 51.92 kB / 370.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2864, allocations: 52.19 MB / 422.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009496/0.2959, allocations: 7.916 MB / 430.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004081/0.3, allocations: 1.882 MB / 432.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.3011, allocations: 31.81 kB / 432.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.3018, allocations: 237.6 kB / 432.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.3031, allocations: 460.2 kB / 433.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3042, allocations: 0.5032 MB / 433.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.3065, allocations: 1.794 MB / 435.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000789/0.3073, allocations: 440.3 kB / 435.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008732/0.3081, allocations: 0.6579 MB / 436.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008673/0.309, allocations: 0.7156 MB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.3092, allocations: 180 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.3095, allocations: 176 kB / 437.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.3097, allocations: 362.7 kB / 438 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.3104, allocations: 0.7737 MB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.3126, allocations: 2.055 MB / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3126, allocations: 4 kB / 440.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3126, allocations: 0 / 440.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.635e-05/0.3126, allocations: 0 / 440.8 MB, free: 12.33 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.00358/0.3162, allocations: 1.759 MB / 442.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3162, allocations: 8.031 kB / 442.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/0.3165, allocations: 182 kB / 442.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.3167, allocations: 164 kB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.318, allocations: 0.693 MB / 443.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.118e-05/0.318, allocations: 90.45 kB / 443.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.3182, allocations: 120 kB / 443.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.3207, allocations: 1.305 MB / 445.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.3207, allocations: 3.938 kB / 445.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.3208, allocations: 52 kB / 445.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.3209, allocations: 32 kB / 445.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.3234, allocations: 1.122 MB / 446.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008506/0.332, allocations: 4.863 MB / 451.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.3344, allocations: 0.9991 MB / 452.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.3355, allocations: 486.1 kB / 452.7 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.524e-05/0.3356, allocations: 12.66 kB / 452.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.3356, allocations: 55.14 kB / 452.7 MB, free: 20 kB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.685e-06/0.3356, allocations: 0 / 452.7 MB, free: 20 kB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008745/0.3444, allocations: 2.477 MB / 455.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.3444, allocations: 89.77 kB / 455.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.3457, allocations: 0.8059 MB / 456.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.3458, allocations: 37.7 kB / 456.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.3463, allocations: 0.6014 MB / 456.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.3466, allocations: 301.4 kB / 457 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.3469, allocations: 170.6 kB / 457.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3471, allocations: 345.9 kB / 457.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009887/0.3481, allocations: 369.8 kB / 457.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.3493, allocations: 0.5855 MB / 458.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.3513, allocations: 0.9521 MB / 459.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3513, allocations: 4 kB / 459.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003338/0.3547, allocations: 1.35 MB / 460.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.3547, allocations: 11.94 kB / 460.8 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.3547, allocations: 12.31 kB / 460.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/0.3555, allocations: 222.7 kB / 461 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/0.3591, allocations: 0.8311 MB / 461.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.3736, allocations: 10.23 MB / 472.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.3748, allocations: 155.1 kB / 472.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.3749, allocations: 36 kB / 472.3 MB, free: 11.5 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.0005909/0.3755, allocations: 273.5 kB / 472.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.3757, allocations: 103.4 kB / 472.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.3759, allocations: 108.8 kB / 472.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3759, allocations: 8 kB / 472.8 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.3759, allocations: 4 kB / 472.8 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3759, allocations: 3.984 kB / 472.8 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/0.3816, allocations: 2.418 MB / 475.2 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.3816, allocations: 4 kB / 475.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.3822, allocations: 123.8 kB / 475.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.3836, allocations: 424.9 kB / 475.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.3837, allocations: 12 kB / 475.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/0.3975, allocations: 10.28 MB / 486 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3975, allocations: 4.062 kB / 486 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.4024, allocations: 1.937 MB / 488 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.4028, allocations: 107.3 kB / 488.1 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.4029, allocations: 19.94 kB / 488.1 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008009/0.4037, allocations: 108.2 kB / 488.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.4039, allocations: 68.47 kB / 488.3 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.4039, allocations: 31.94 kB / 488.3 MB, free: 10.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008263/0.4047, allocations: 0.5498 MB / 488.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4047, allocations: 0 / 488.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00144/0.4062, allocations: 371.2 kB / 489.2 MB, free: 9.742 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.005223/0.4114, allocations: 2.502 MB / 491.7 MB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006239/0.4176, allocations: 1.956 MB / 493.7 MB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.4176, allocations: 0 / 493.7 MB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.4196, allocations: 1.137 MB / 494.8 MB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4208, allocations: 201.6 kB / 495 MB, free: 3.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.4382, allocations: 9.273 MB / 0.4925 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.439, allocations: 1.074 MB / 0.4935 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004428/0.4394, allocations: 99.5 kB / 0.4936 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.4399, allocations: 435.3 kB / 0.494 GB, free: 8.57 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4399, allocations: 3.938 kB / 0.494 GB, free: 8.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08115/0.5211, allocations: 24.92 MB / 0.5183 GB, free: 15.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.08, allocations: 7.922 kB / 0.5184 GB, free: 15.91 MB / 446.1 MB " [Timeout remaining time 645] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable firstOrder2B.y in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable firstOrder2B.y from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addA.opAmp.v_out in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addA.opAmp.v_out from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addB.y in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addB.y from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.702089943999454]