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.001783/0.001783, allocations: 118.6 kB / 17.79 MB, free: 5.27 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.002229/0.002229, allocations: 198.8 kB / 20.73 MB, free: 2.332 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.489/1.489, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.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.001498/0.001498, allocations: 55.91 kB / 365.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.098, allocations: 52.14 MB / 417.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009762/0.1078, allocations: 7.891 MB / 425.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.112, allocations: 1.874 MB / 427.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.1132, allocations: 35.81 kB / 427.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.1138, allocations: 233.7 kB / 427.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.115, allocations: 460.2 kB / 428.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009843/0.116, allocations: 0.4916 MB / 428.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.1181, allocations: 1.806 MB / 430.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006871/0.1188, allocations: 439.9 kB / 431 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008705/0.1197, allocations: 0.6579 MB / 431.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.1205, allocations: 0.7155 MB / 432.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.1207, allocations: 176 kB / 432.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.1209, allocations: 180 kB / 432.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.1213, allocations: 354.8 kB / 433.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000721/0.122, allocations: 0.7776 MB / 433.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.124, allocations: 2.058 MB / 435.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.124, allocations: 0 / 435.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.124, allocations: 4 kB / 435.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.045e-05/0.1241, allocations: 0 / 435.9 MB, free: 10.35 MB / 366.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.003556/0.1276, allocations: 1.827 MB / 437.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1277, allocations: 12.03 kB / 437.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.1279, allocations: 182 kB / 438 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.1281, allocations: 164 kB / 438.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.1294, allocations: 0.7612 MB / 438.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-05/0.1295, allocations: 90.45 kB / 439 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.1296, allocations: 123.9 kB / 439.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.1323, allocations: 1.309 MB / 440.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.1323, allocations: 11.88 kB / 440.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.1325, allocations: 52 kB / 440.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.1325, allocations: 28 kB / 440.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.1352, allocations: 1.118 MB / 441.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2105/0.3457, allocations: 4.949 MB / 446.6 MB, free: 28.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.348, allocations: 1.154 MB / 447.7 MB, free: 28.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.349, allocations: 487.7 kB / 448.2 MB, free: 28.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.3491, allocations: 13.16 kB / 448.2 MB, free: 28.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3491, allocations: 47.59 kB / 448.2 MB, free: 28.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.595e-06/0.3491, allocations: 0 / 448.2 MB, free: 28.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.00853/0.3576, allocations: 2.926 MB / 451.2 MB, free: 27.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3577, allocations: 85.81 kB / 451.2 MB, free: 27.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.3588, allocations: 0.8188 MB / 452.1 MB, free: 27.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.3589, allocations: 39.67 kB / 452.1 MB, free: 27.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.3592, allocations: 0.6022 MB / 452.7 MB, free: 26.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.3595, allocations: 298.3 kB / 453 MB, free: 26.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.3598, allocations: 170.6 kB / 453.2 MB, free: 26.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.3599, allocations: 344.4 kB / 453.5 MB, free: 26.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/0.3608, allocations: 366.5 kB / 453.9 MB, free: 26.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009678/0.3618, allocations: 0.5854 MB / 454.4 MB, free: 26.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.3636, allocations: 0.9476 MB / 455.4 MB, free: 25.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3636, allocations: 1.156 kB / 455.4 MB, free: 25.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003091/0.3666, allocations: 1.362 MB / 456.8 MB, free: 25.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3667, allocations: 8.062 kB / 456.8 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.3667, allocations: 5.75 kB / 456.8 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007719/0.3675, allocations: 227 kB / 457 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/0.371, allocations: 0.8264 MB / 457.8 MB, free: 25.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.382, allocations: 10.86 MB / 468.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009208/0.3829, allocations: 144.5 kB / 468.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.383, allocations: 39.7 kB / 468.9 MB, free: 15.77 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.0003984/0.3834, allocations: 278.2 kB / 469.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.3835, allocations: 107 kB / 469.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.3837, allocations: 107.9 kB / 469.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3837, allocations: 9.094 kB / 469.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.3837, allocations: 1.375 kB / 469.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3837, allocations: 4.984 kB / 469.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/0.3885, allocations: 2.449 MB / 471.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3885, allocations: 2.359 kB / 471.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.3891, allocations: 122.5 kB / 471.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.3904, allocations: 429.2 kB / 472.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.3904, allocations: 17.78 kB / 472.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.4005, allocations: 10.9 MB / 483.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4005, allocations: 5.938 kB / 483.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/0.4052, allocations: 1.93 MB / 485.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.4054, allocations: 199.7 kB / 485.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.4055, allocations: 16.12 kB / 485.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/0.4063, allocations: 99.95 kB / 485.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.4064, allocations: 67.8 kB / 485.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.4065, allocations: 22.39 kB / 485.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006761/0.4071, allocations: 0.5526 MB / 486.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4071, allocations: 0.9062 kB / 486.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001418/0.4086, allocations: 360.1 kB / 486.5 MB, free: 3.199 MB / 366.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.004413/0.413, allocations: 2.511 MB / 489 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005573/0.4185, allocations: 1.957 MB / 491 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.4186, allocations: 4.812 kB / 491 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.4202, allocations: 1.14 MB / 492.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.4215, allocations: 210.2 kB / 492.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.4395, allocations: 9.263 MB / 0.4898 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/0.4402, allocations: 1.074 MB / 0.4909 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004347/0.4407, allocations: 104.4 kB / 0.491 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.4412, allocations: 431.3 kB / 0.4914 GB, free: 5.066 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4412, allocations: 0 / 0.4914 GB, free: 5.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08057/0.5218, allocations: 24.19 MB / 0.515 GB, free: 13.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.26, allocations: 15.38 kB / 0.515 GB, free: 13.17 MB / 414.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.871979725081474]