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.001814/0.001814, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.00229/0.00229, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.376/1.376, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001557/0.001557, allocations: 51.86 kB / 370.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008398/0.2538, allocations: 6.844 MB / 429.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.2574, allocations: 1.847 MB / 431.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.2579, allocations: 39.75 kB / 431.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.2584, allocations: 233.7 kB / 431.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008313/0.2592, allocations: 456.2 kB / 432 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008936/0.2601, allocations: 0.5111 MB / 432.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.262, allocations: 1.794 MB / 434.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006455/0.2626, allocations: 408.3 kB / 434.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008083/0.2634, allocations: 0.6579 MB / 435.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.2642, allocations: 0.6179 MB / 436 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.2645, allocations: 180 kB / 436.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.2647, allocations: 180 kB / 436.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.265, allocations: 362.8 kB / 436.7 MB, free: 216 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006431/0.2657, allocations: 0.634 MB / 437.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.2676, allocations: 2.074 MB / 439.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2676, allocations: 0 / 439.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2676, allocations: 0 / 439.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.2676, allocations: 0 / 439.4 MB, free: 13.49 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.003311/0.2709, allocations: 1.755 MB / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.271, allocations: 8.031 kB / 441.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/0.2712, allocations: 182 kB / 441.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.2714, allocations: 163.9 kB / 441.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.2727, allocations: 0.693 MB / 442.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.2728, allocations: 90.45 kB / 442.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.273, allocations: 120 kB / 442.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.2755, allocations: 1.639 MB / 444 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.2756, allocations: 0 / 444 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.2757, allocations: 52 kB / 444.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.2757, allocations: 32 kB / 444.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.2782, allocations: 1.118 MB / 445.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007434/0.2856, allocations: 4.4 MB / 449.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.288, allocations: 0.9872 MB / 450.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.2891, allocations: 490.1 kB / 451.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.2891, allocations: 16.58 kB / 451.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.2892, allocations: 47.22 kB / 451.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.735e-06/0.2892, allocations: 0 / 451.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008511/0.2977, allocations: 2.481 MB / 453.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.2978, allocations: 85.77 kB / 453.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.2989, allocations: 0.8214 MB / 454.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.299, allocations: 41.7 kB / 454.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.2995, allocations: 0.6053 MB / 455.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.2997, allocations: 297.5 kB / 455.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.3, allocations: 166.6 kB / 455.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3001, allocations: 349.9 kB / 456 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/0.301, allocations: 369.7 kB / 456.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3021, allocations: 0.5894 MB / 456.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.3041, allocations: 0.952 MB / 457.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3041, allocations: 4 kB / 457.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003252/0.3073, allocations: 1.354 MB / 459.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.3074, allocations: 11.98 kB / 459.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.3074, allocations: 8 kB / 459.3 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008938/0.3083, allocations: 222.7 kB / 459.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/0.3119, allocations: 0.8311 MB / 460.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.3262, allocations: 10.18 MB / 470.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3273, allocations: 147.1 kB / 470.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.3274, allocations: 36 kB / 470.7 MB, free: 12.8 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.0005113/0.3279, allocations: 277.6 kB / 471 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.328, allocations: 107.3 kB / 471.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.3283, allocations: 108.8 kB / 471.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3283, allocations: 8 kB / 471.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.3283, allocations: 3.984 kB / 471.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3283, allocations: 0 / 471.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.3334, allocations: 2.27 MB / 473.4 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3334, allocations: 0 / 473.4 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.334, allocations: 127.7 kB / 473.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.3353, allocations: 428.9 kB / 474 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.3354, allocations: 15.98 kB / 474 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.3484, allocations: 10.21 MB / 484.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3484, allocations: 4.031 kB / 484.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/0.3532, allocations: 1.937 MB / 486.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.3535, allocations: 123.1 kB / 486.3 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3536, allocations: 16 kB / 486.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.3544, allocations: 108.1 kB / 486.4 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.3545, allocations: 72.47 kB / 486.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.3546, allocations: 24 kB / 486.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007929/0.3554, allocations: 0.5537 MB / 487 MB, free: 11.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 487 MB, free: 11.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001272/0.3567, allocations: 363.3 kB / 487.4 MB, free: 11.25 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.005034/0.3617, allocations: 2.497 MB / 489.9 MB, free: 8.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005899/0.3676, allocations: 1.953 MB / 491.8 MB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3676, allocations: 4 kB / 491.8 MB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.3694, allocations: 1.132 MB / 493 MB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.3706, allocations: 212.1 kB / 493.2 MB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.3874, allocations: 9.265 MB / 0.4907 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.3881, allocations: 0.4885 MB / 0.4912 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004582/0.3885, allocations: 99.5 kB / 0.4912 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/0.3891, allocations: 427.3 kB / 0.4917 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3891, allocations: 0 / 0.4917 GB, free: 10.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0778/0.4669, allocations: 25.21 MB / 0.5163 GB, free: 1.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.07, allocations: 14.2 kB / 0.5163 GB, free: 1.809 MB / 430.1 MB " [Timeout remaining time 646] (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: 16.537288648076355]