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.001575/0.001575, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001886/0.001886, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001507/0.001507, allocations: 47.92 kB / 377.8 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2584, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008395/0.2668, allocations: 6.873 MB / 438 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.2706, allocations: 1.878 MB / 439.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008036/0.2714, allocations: 31.81 kB / 439.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.272, allocations: 233.7 kB / 440.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.2731, allocations: 460.3 kB / 440.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.274, allocations: 0.5033 MB / 441.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.276, allocations: 1.794 MB / 442.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007063/0.2767, allocations: 444.3 kB / 443.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/0.2774, allocations: 0.6579 MB / 444 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.2782, allocations: 0.7156 MB / 444.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.2784, allocations: 180 kB / 444.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.2787, allocations: 180 kB / 445 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.2789, allocations: 354.8 kB / 445.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006233/0.2796, allocations: 0.6378 MB / 446 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.2816, allocations: 2.074 MB / 448.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2816, allocations: 0 / 448.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2816, allocations: 0 / 448.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.2816, allocations: 0 / 448.1 MB, free: 5.586 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.003233/0.2849, allocations: 1.748 MB / 449.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2849, allocations: 8.031 kB / 449.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/0.2851, allocations: 182 kB / 450 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.2854, allocations: 164 kB / 450.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.2866, allocations: 0.7046 MB / 450.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.2867, allocations: 90.45 kB / 451 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.2869, allocations: 116 kB / 451.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.2895, allocations: 1.639 MB / 452.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.2895, allocations: 4 kB / 452.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.2896, allocations: 52 kB / 452.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.2897, allocations: 28 kB / 452.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.2921, allocations: 1.118 MB / 453.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007666/0.2998, allocations: 4.401 MB / 458.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.3021, allocations: 0.9914 MB / 459.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.3032, allocations: 486.2 kB / 459.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.3033, allocations: 16.62 kB / 459.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.3033, allocations: 47.16 kB / 459.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.695e-06/0.3033, allocations: 0 / 459.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008829/0.3122, allocations: 2.484 MB / 462.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.3122, allocations: 85.77 kB / 462.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3136, allocations: 0.8213 MB / 463.2 MB, free: 5.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.3137, allocations: 41.7 kB / 463.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.3142, allocations: 0.6014 MB / 463.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.3145, allocations: 297.5 kB / 464.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.3148, allocations: 166.6 kB / 464.3 MB, free: 4.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.315, allocations: 345.9 kB / 464.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000901/0.3159, allocations: 365.8 kB / 465 MB, free: 4.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.3169, allocations: 0.5863 MB / 465.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.3188, allocations: 0.9481 MB / 466.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3188, allocations: 3.984 kB / 466.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00323/0.322, allocations: 1.358 MB / 467.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3221, allocations: 8 kB / 467.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.3221, allocations: 11.98 kB / 468 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/0.3229, allocations: 226.7 kB / 468.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/0.3264, allocations: 0.835 MB / 469 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.3402, allocations: 10.17 MB / 479.2 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/0.3412, allocations: 147.1 kB / 479.3 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.3412, allocations: 36 kB / 479.4 MB, free: 4.902 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.0005044/0.3417, allocations: 281.5 kB / 479.6 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.3419, allocations: 103.3 kB / 479.7 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.3421, allocations: 108.8 kB / 479.8 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3421, allocations: 8 kB / 479.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.3422, allocations: 8 kB / 479.9 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3422, allocations: 3.984 kB / 479.9 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/0.3473, allocations: 2.266 MB / 482.1 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3473, allocations: 0 / 482.1 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.3478, allocations: 131.7 kB / 482.3 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.3491, allocations: 420.9 kB / 482.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.3492, allocations: 19.98 kB / 482.7 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.3624, allocations: 10.21 MB / 492.9 MB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3624, allocations: 3.984 kB / 492.9 MB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00485/0.3673, allocations: 1.945 MB / 494.9 MB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.3676, allocations: 111.2 kB / 495 MB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.3677, allocations: 16 kB / 495 MB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/0.3685, allocations: 107.8 kB / 495.1 MB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.3686, allocations: 60.53 kB / 495.1 MB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.3687, allocations: 24 kB / 495.2 MB, free: 4.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007464/0.3694, allocations: 0.5498 MB / 495.7 MB, free: 3.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3694, allocations: 4 kB / 495.7 MB, free: 3.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3707, allocations: 363.2 kB / 496.1 MB, free: 3.363 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.004946/0.3757, allocations: 2.504 MB / 498.6 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005796/0.3815, allocations: 1.957 MB / 0.4888 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.3815, allocations: 4 kB / 0.4888 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.3832, allocations: 1.136 MB / 0.4899 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3844, allocations: 213.5 kB / 0.4901 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.4007, allocations: 9.256 MB / 0.4992 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.4013, allocations: 492.3 kB / 0.4996 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.4017, allocations: 99.5 kB / 0.4997 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/0.4022, allocations: 431.3 kB / 0.5001 GB, free: 2.77 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4022, allocations: 4 kB / 0.5001 GB, free: 2.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07419/0.4764, allocations: 25.51 MB / 0.525 GB, free: 9.629 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.66, allocations: 10.42 kB / 0.5251 GB, free: 9.621 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.383573416998843]