Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 48.06 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 53.34 MB / 426.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.222/0.3329, allocations: 7.903 MB / 434.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.3367, allocations: 1.903 MB / 436.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.338, allocations: 36.56 kB / 436.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.3386, allocations: 233.7 kB / 436.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.34, allocations: 456.7 kB / 436.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.341, allocations: 0.4988 MB / 437.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.3434, allocations: 1.794 MB / 439.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.3441, allocations: 443.4 kB / 439.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.3452, allocations: 0.6536 MB / 440.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009981/0.3462, allocations: 0.7207 MB / 441 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.3464, allocations: 177.3 kB / 441.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.3468, allocations: 179 kB / 441.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.347, allocations: 357.5 kB / 441.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007281/0.3478, allocations: 0.7759 MB / 442.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.3502, allocations: 2.057 MB / 444.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3502, allocations: 0 / 444.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3502, allocations: 1.219 kB / 444.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.024e-05/0.3502, allocations: 0 / 444.5 MB, free: 2.535 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.00415/0.3544, allocations: 1.822 MB / 446.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3544, allocations: 11.09 kB / 446.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/0.3547, allocations: 183.2 kB / 446.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.355, allocations: 163 kB / 446.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.3563, allocations: 0.7713 MB / 447.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.3564, allocations: 92.17 kB / 447.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.3566, allocations: 121.1 kB / 447.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.3591, allocations: 1.313 MB / 449 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.3591, allocations: 3.938 kB / 449 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.3593, allocations: 52.67 kB / 449 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.3593, allocations: 30.16 kB / 449.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.362, allocations: 1.118 MB / 450.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00912/0.3712, allocations: 4.963 MB / 455.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.3737, allocations: 1.147 MB / 456.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.3749, allocations: 492.7 kB / 456.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.3749, allocations: 13.47 kB / 456.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.375, allocations: 43.78 kB / 456.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.565e-06/0.375, allocations: 0 / 456.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009333/0.3843, allocations: 2.931 MB / 459.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.3844, allocations: 86.3 kB / 459.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3858, allocations: 0.803 MB / 460.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.3859, allocations: 42.17 kB / 460.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/0.3864, allocations: 0.6173 MB / 461.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.3867, allocations: 291 kB / 461.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.387, allocations: 169.8 kB / 461.7 MB, free: 8.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3871, allocations: 346.5 kB / 462.1 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009593/0.3881, allocations: 367.2 kB / 462.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.3892, allocations: 0.581 MB / 463 MB, free: 7.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.3913, allocations: 0.952 MB / 464 MB, free: 6.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.3913, allocations: 2.406 kB / 464 MB, free: 6.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003607/0.3949, allocations: 1.356 MB / 465.3 MB, free: 6.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3949, allocations: 12.22 kB / 465.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.3949, allocations: 6.906 kB / 465.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008895/0.3958, allocations: 221.1 kB / 465.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.3997, allocations: 0.8313 MB / 466.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/0.4148, allocations: 10.84 MB / 477.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.416, allocations: 147.6 kB / 477.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.4161, allocations: 42.17 kB / 477.4 MB, free: 11.63 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.0005534/0.4167, allocations: 272.2 kB / 477.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.4169, allocations: 106.4 kB / 477.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.4171, allocations: 115.5 kB / 477.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4171, allocations: 8.188 kB / 477.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4171, allocations: 1.156 kB / 477.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4171, allocations: 5.422 kB / 477.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/0.4227, allocations: 2.449 MB / 480.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4227, allocations: 0 / 480.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.4232, allocations: 119.8 kB / 480.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.4247, allocations: 428.8 kB / 480.9 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.4247, allocations: 16 kB / 480.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/0.4392, allocations: 10.91 MB / 491.8 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4392, allocations: 4.031 kB / 491.8 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.4446, allocations: 1.929 MB / 493.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.445, allocations: 196.3 kB / 494 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4451, allocations: 16 kB / 494 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.4459, allocations: 103.8 kB / 494.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4461, allocations: 68.47 kB / 494.1 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.4461, allocations: 20 kB / 494.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008112/0.447, allocations: 0.5536 MB / 494.7 MB, free: 9.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.447, allocations: 0 / 494.7 MB, free: 9.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001427/0.4484, allocations: 359.3 kB / 495.1 MB, free: 9.512 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.005456/0.4538, allocations: 2.511 MB / 497.6 MB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006144/0.46, allocations: 1.959 MB / 499.5 MB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.46, allocations: 0 / 499.5 MB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.4619, allocations: 1.133 MB / 0.4889 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.4632, allocations: 204.9 kB / 0.4891 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.4808, allocations: 9.269 MB / 0.4982 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.4816, allocations: 1.074 MB / 0.4992 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004533/0.482, allocations: 103.5 kB / 0.4993 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005327/0.4825, allocations: 431.3 kB / 0.4997 GB, free: 8.324 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4825, allocations: 7.938 kB / 0.4998 GB, free: 8.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08872/0.5713, allocations: 24.17 MB / 0.5234 GB, free: 452 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.26, allocations: 11.77 kB / 0.5234 GB, free: 444 kB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable firstOrder2B.y from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addA.opAmp.v_out in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addA.opAmp.v_out from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addB.y in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addB.y from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.773243898001965]