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.001736/0.001736, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002249/0.002249, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001622/0.001622, allocations: 47.92 kB / 377.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2715, allocations: 53.37 MB / 431.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01427/0.2858, allocations: 6.865 MB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005676/0.2915, allocations: 1.878 MB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.2929, allocations: 31.81 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.294, allocations: 229.7 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.2962, allocations: 460.2 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.2979, allocations: 0.5072 MB / 441.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003484/0.3014, allocations: 1.794 MB / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.3026, allocations: 404.3 kB / 443.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.304, allocations: 0.6657 MB / 443.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.3057, allocations: 0.6256 MB / 444.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005165/0.3062, allocations: 176 kB / 444.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006262/0.3068, allocations: 180 kB / 444.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00065/0.3075, allocations: 358.8 kB / 445.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.309, allocations: 0.63 MB / 445.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.3125, allocations: 2.074 MB / 448 MB, free: 5.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.3125, allocations: 4 kB / 448 MB, free: 5.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3125, allocations: 0 / 448 MB, free: 5.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-05/0.3126, allocations: 0 / 448 MB, free: 5.668 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.00557/0.3181, allocations: 1.748 MB / 449.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3182, allocations: 8.031 kB / 449.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003682/0.3185, allocations: 186 kB / 449.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.319, allocations: 164 kB / 450.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.3211, allocations: 0.6969 MB / 450.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.3212, allocations: 94.39 kB / 450.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.3215, allocations: 124 kB / 451 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004829/0.3263, allocations: 1.635 MB / 452.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/0.3263, allocations: 3.938 kB / 452.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.3265, allocations: 52 kB / 452.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/0.3266, allocations: 28 kB / 452.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004867/0.3315, allocations: 1.118 MB / 453.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.3475, allocations: 4.397 MB / 458.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/0.3521, allocations: 0.9875 MB / 459.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/0.3543, allocations: 486.1 kB / 459.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.51e-05/0.3543, allocations: 16.58 kB / 459.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.782e-05/0.3544, allocations: 51.16 kB / 459.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 4.91e-06/0.3544, allocations: 0 / 459.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009897/0.3643, allocations: 2.477 MB / 462.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.3644, allocations: 89.7 kB / 462.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.3656, allocations: 0.8213 MB / 463.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.3657, allocations: 37.7 kB / 463.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.3662, allocations: 0.6053 MB / 463.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.3664, allocations: 293.5 kB / 464 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.3667, allocations: 166.6 kB / 464.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3669, allocations: 349.9 kB / 464.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009452/0.3678, allocations: 369.8 kB / 464.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.3689, allocations: 0.5824 MB / 465.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.371, allocations: 0.9481 MB / 466.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.371, allocations: 4 kB / 466.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003319/0.3743, allocations: 1.354 MB / 467.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3743, allocations: 11.98 kB / 467.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.3743, allocations: 12 kB / 467.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007952/0.3751, allocations: 234.6 kB / 468.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/0.3787, allocations: 0.8271 MB / 468.9 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/0.3932, allocations: 10.17 MB / 479.1 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.3943, allocations: 147.1 kB / 479.2 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.3944, allocations: 36 kB / 479.2 MB, free: 4.988 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.0006409/0.3951, allocations: 277.9 kB / 479.5 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.3954, allocations: 111.3 kB / 479.6 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.3956, allocations: 104.8 kB / 479.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.3956, allocations: 11.98 kB / 479.7 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.3956, allocations: 4 kB / 479.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3956, allocations: 3.984 kB / 479.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005832/0.4015, allocations: 2.258 MB / 482 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.4015, allocations: 4 kB / 482 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.402, allocations: 123.8 kB / 482.1 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.4034, allocations: 428.8 kB / 482.5 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.4035, allocations: 19.98 kB / 482.6 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/0.4173, allocations: 10.21 MB / 492.8 MB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4173, allocations: 0 / 492.8 MB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004931/0.4223, allocations: 1.941 MB / 494.7 MB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.4226, allocations: 115.2 kB / 494.8 MB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.4228, allocations: 12 kB / 494.8 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.4236, allocations: 107.8 kB / 494.9 MB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.4238, allocations: 68.47 kB / 495 MB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/0.4238, allocations: 20 kB / 495 MB, free: 4.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.4249, allocations: 0.5498 MB / 495.6 MB, free: 3.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4249, allocations: 4 kB / 495.6 MB, free: 3.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00152/0.4264, allocations: 367.2 kB / 495.9 MB, free: 3.449 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.005405/0.4318, allocations: 2.512 MB / 498.5 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005957/0.4378, allocations: 1.957 MB / 0.4887 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4378, allocations: 0 / 0.4887 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.4396, allocations: 1.136 MB / 0.4898 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.441, allocations: 214.5 kB / 0.49 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/0.459, allocations: 9.253 MB / 0.499 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.4596, allocations: 496.3 kB / 0.4995 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004557/0.4601, allocations: 99.48 kB / 0.4996 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.4607, allocations: 427.3 kB / 0.5 GB, free: 2.859 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4607, allocations: 4 kB / 0.5 GB, free: 2.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07482/0.5355, allocations: 25.21 MB / 0.5246 GB, free: 10.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.11, allocations: 8.047 kB / 0.5246 GB, free: 10 MB / 446.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.81548225088045]