Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002085/0.002085, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 67.89 kB / 373 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1321, allocations: 53.38 MB / 426.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.2534/0.3855, allocations: 8.028 MB / 434.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.3899, allocations: 1.812 MB / 436.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.391, allocations: 33.41 kB / 436.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.3917, allocations: 243.4 kB / 436.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.3934, allocations: 483.5 kB / 437 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.3946, allocations: 418 kB / 437.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.3975, allocations: 1.791 MB / 439.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009441/0.3984, allocations: 439.9 kB / 439.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.3996, allocations: 0.6534 MB / 440.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.4008, allocations: 0.7313 MB / 441 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.4012, allocations: 180.9 kB / 441.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.4015, allocations: 181.6 kB / 441.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.4019, allocations: 367.7 kB / 441.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008269/0.4027, allocations: 0.8004 MB / 442.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.4058, allocations: 2.1 MB / 444.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.4058, allocations: 0.5312 kB / 444.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4058, allocations: 3.938 kB / 444.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.11e-05/0.4059, allocations: 0.5 kB / 444.6 MB, free: 2.289 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004589/0.4105, allocations: 1.77 MB / 446.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4105, allocations: 10.64 kB / 446.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002737/0.4108, allocations: 192.9 kB / 446.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003593/0.4112, allocations: 171.3 kB / 446.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.4128, allocations: 0.8004 MB / 447.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.707e-05/0.4129, allocations: 98.3 kB / 447.7 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.4132, allocations: 128.5 kB / 447.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.4155, allocations: 1.264 MB / 449 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.4155, allocations: 0.75 kB / 449 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.4157, allocations: 52.5 kB / 449.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.4157, allocations: 30.44 kB / 449.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.4177, allocations: 1.014 MB / 450.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008666/0.4264, allocations: 4.456 MB / 454.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.428, allocations: 0.9911 MB / 455.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.4288, allocations: 432.7 kB / 456 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.4289, allocations: 12 kB / 456 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.4289, allocations: 45.06 kB / 456.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.306e-06/0.4289, allocations: 0 / 456.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.005683/0.4346, allocations: 2.178 MB / 458.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.4347, allocations: 86.7 kB / 458.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.436, allocations: 0.811 MB / 459.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.852e-05/0.4361, allocations: 47.14 kB / 459.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/0.4367, allocations: 0.6065 MB / 459.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.437, allocations: 332 kB / 460.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.4373, allocations: 179.6 kB / 460.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4375, allocations: 353.6 kB / 460.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.4381, allocations: 304 kB / 460.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/0.4389, allocations: 0.4973 MB / 461.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.4403, allocations: 0.8176 MB / 462.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.4403, allocations: 1.312 kB / 462.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003291/0.4436, allocations: 1.316 MB / 463.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.4436, allocations: 7.781 kB / 463.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4436, allocations: 5.906 kB / 463.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.4452, allocations: 403.3 kB / 464 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.4459, allocations: 190.2 kB / 464.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.4592, allocations: 10.85 MB / 475 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4608, allocations: 115 kB / 475.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/0.4609, allocations: 50.3 kB / 475.2 MB, free: 12.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007777/0.4617, allocations: 293.6 kB / 475.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.4619, allocations: 108.9 kB / 475.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.4622, allocations: 114.6 kB / 475.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4622, allocations: 9.25 kB / 475.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.4622, allocations: 1.594 kB / 475.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4622, allocations: 3.984 kB / 475.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/0.4667, allocations: 2.252 MB / 477.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4667, allocations: 1.188 kB / 477.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.4672, allocations: 127.1 kB / 478.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.4686, allocations: 389.6 kB / 478.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.4687, allocations: 21.38 kB / 478.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/0.4804, allocations: 10.85 MB / 489.3 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.4804, allocations: 0 / 489.3 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/0.4837, allocations: 1.647 MB / 491 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.4841, allocations: 200.3 kB / 491.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.4842, allocations: 16 kB / 491.2 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.485, allocations: 87.92 kB / 491.3 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.4852, allocations: 80.89 kB / 491.3 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.4852, allocations: 28 kB / 491.4 MB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007415/0.486, allocations: 0.5537 MB / 491.9 MB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.486, allocations: 0 / 491.9 MB, free: 12.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001396/0.4874, allocations: 395.2 kB / 492.3 MB, free: 12.1 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: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00352/0.4909, allocations: 2.217 MB / 494.5 MB, free: 9.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.4934, allocations: 1.513 MB / 496 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.4934, allocations: 4 kB / 496 MB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.4951, allocations: 1.165 MB / 497.2 MB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.4965, allocations: 220.7 kB / 497.4 MB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.5126, allocations: 9.084 MB / 0.4946 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009056/0.5135, allocations: 1.106 MB / 0.4957 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005505/0.514, allocations: 95.95 kB / 0.4958 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006285/0.5147, allocations: 463.3 kB / 0.4963 GB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 1.864e-06/0.5147, allocations: 0 / 0.4963 GB, free: 11.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07927/0.5939, allocations: 26.28 MB / 0.5219 GB, free: 1.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.93, allocations: 11.12 kB / 0.5219 GB, free: 1.645 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable firstOrder2B.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addA.opAmp.v_out in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addA.opAmp.v_out from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addB.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addB.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.600443365983665]