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.0009017/0.0009017, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009047/0.0009047, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9205/0.9205, allocations: 173.3 MB / 200.4 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.944e-06/1.944e-06, allocations: 0 / 318.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.031e-05, allocations: 2.281 kB / 318.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006592/0.006612, allocations: 6.845 MB / 325.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.01057, allocations: 1.847 MB / 327.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.01162, allocations: 35.81 kB / 327.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.01216, allocations: 233.7 kB / 327.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.01323, allocations: 479.8 kB / 327.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.01417, allocations: 0.5071 MB / 328.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001896/0.01606, allocations: 1.867 MB / 330.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006828/0.01675, allocations: 408.3 kB / 330.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.01805, allocations: 0.9902 MB / 331.7 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006648/0.01872, allocations: 0.5257 MB / 332.2 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.01896, allocations: 176 kB / 332.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.01918, allocations: 184 kB / 332.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.01938, allocations: 362.7 kB / 332.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008342/0.02022, allocations: 0.5416 MB / 333.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.02193, allocations: 2.095 MB / 335.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.02193, allocations: 0 / 335.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.02194, allocations: 0 / 335.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.864e-05/0.02198, allocations: 0 / 335.5 MB, free: 5.16 MB / 298.7 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.002592/0.02457, allocations: 1.732 MB / 337.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/0.02463, allocations: 8.922 kB / 337.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.02483, allocations: 190 kB / 337.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.02504, allocations: 160 kB / 337.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/0.02594, allocations: 0.6964 MB / 338.3 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.02599, allocations: 90.83 kB / 338.4 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.02611, allocations: 128.1 kB / 338.5 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.02822, allocations: 1.635 MB / 340.2 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.02824, allocations: 0 / 340.2 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/0.02832, allocations: 52 kB / 340.2 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.02834, allocations: 32 kB / 340.2 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.03001, allocations: 1.118 MB / 341.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005267/0.03527, allocations: 4.4 MB / 345.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.03677, allocations: 0.9836 MB / 346.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.03786, allocations: 494.4 kB / 347.2 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.03791, allocations: 8.656 kB / 347.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.03794, allocations: 47.22 kB / 347.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.725e-06/0.03794, allocations: 0 / 347.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.00482/0.04276, allocations: 2.473 MB / 349.8 MB, free: 6.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.04281, allocations: 85.77 kB / 349.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/0.04366, allocations: 0.8252 MB / 350.7 MB, free: 5.523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.04372, allocations: 41.7 kB / 350.7 MB, free: 5.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.04402, allocations: 0.6053 MB / 351.3 MB, free: 4.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.0442, allocations: 297.4 kB / 351.6 MB, free: 4.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.04438, allocations: 166.6 kB / 351.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.04447, allocations: 341.9 kB / 352.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.04498, allocations: 369.8 kB / 352.5 MB, free: 3.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.04559, allocations: 0.5855 MB / 353 MB, free: 3.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.04669, allocations: 0.9482 MB / 354 MB, free: 1.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.04669, allocations: 0 / 354 MB, free: 1.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002103/0.04879, allocations: 1.358 MB / 355.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.04882, allocations: 11.94 kB / 355.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.04883, allocations: 8 kB / 355.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.04934, allocations: 230.8 kB / 355.6 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.05106, allocations: 0.8311 MB / 356.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008315/0.05937, allocations: 10.16 MB / 366.6 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/0.0602, allocations: 151.1 kB / 366.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.06026, allocations: 36 kB / 366.8 MB, free: 4.5 MB / 330.7 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.0005214/0.06078, allocations: 278.2 kB / 367 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.06092, allocations: 99.39 kB / 367.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.06105, allocations: 108.9 kB / 367.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.06106, allocations: 8 kB / 367.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.06107, allocations: 7.938 kB / 367.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.06108, allocations: 3.984 kB / 367.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.0644, allocations: 2.262 MB / 369.5 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.0644, allocations: 4 kB / 369.5 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.06469, allocations: 123.8 kB / 369.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006968/0.06539, allocations: 424.9 kB / 370.1 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.06542, allocations: 19.94 kB / 370.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007342/0.07277, allocations: 10.21 MB / 380.3 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.07277, allocations: 0 / 380.3 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.0757, allocations: 1.937 MB / 382.2 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.07594, allocations: 123.1 kB / 382.4 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.076, allocations: 12 kB / 382.4 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.07642, allocations: 103.9 kB / 382.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.07656, allocations: 64.47 kB / 382.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.07659, allocations: 24 kB / 382.6 MB, free: 3.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008594/0.07745, allocations: 0.5498 MB / 383.1 MB, free: 3.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.07745, allocations: 0 / 383.1 MB, free: 3.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001069/0.07852, allocations: 367.2 kB / 383.5 MB, free: 2.977 MB / 346.7 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.002823/0.08135, allocations: 2.501 MB / 386 MB, free: 432 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.0847, allocations: 1.953 MB / 387.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.0847, allocations: 4 kB / 387.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.08576, allocations: 1.129 MB / 389.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008255/0.08659, allocations: 215 kB / 389.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.09812, allocations: 9.251 MB / 398.5 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.0985, allocations: 492.2 kB / 399 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003556/0.09886, allocations: 103.5 kB / 399.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.09923, allocations: 432.4 kB / 399.5 MB, free: 2.402 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.09923, allocations: 4 kB / 399.5 MB, free: 2.398 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/0.1482, allocations: 25.33 MB / 424.8 MB, free: 9.406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/8.728, allocations: 7.281 kB / 424.9 MB, free: 9.402 MB / 394.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/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] "" Variables in the reference:time,firstOrder1A.c.v,firstOrder1B.y,firstOrder2A.c.v,firstOrder2B.y,PIA.c.v,PIB.x,addA.opAmp.v_out,addB.y Variables in the result:time,PIA.c.v,PIB.x,firstOrder1A.c.v,firstOrder1B.y,firstOrder2A.c.v [Calling sys.exit(0), Time elapsed: 10.629309230484068]