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.00133/0.00133, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001415/0.001415, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.388/1.388, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.001487/0.001487, allocations: 39.94 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2693, allocations: 53.36 MB / 431.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009632/0.2789, allocations: 7.943 MB / 439.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.2829, allocations: 1.909 MB / 441 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009169/0.2839, allocations: 35.81 kB / 441.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.2845, allocations: 237.7 kB / 441.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.2856, allocations: 460.2 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009988/0.2866, allocations: 0.4916 MB / 442.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.2886, allocations: 1.798 MB / 444 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000703/0.2893, allocations: 444.3 kB / 444.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008241/0.2902, allocations: 0.654 MB / 445.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008852/0.2911, allocations: 0.7195 MB / 445.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.2913, allocations: 180 kB / 446 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.2915, allocations: 180 kB / 446.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.2918, allocations: 346.8 kB / 446.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007/0.2925, allocations: 0.7814 MB / 447.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.2945, allocations: 2.055 MB / 449.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2945, allocations: 0 / 449.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2945, allocations: 3.938 kB / 449.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.2946, allocations: 4 kB / 449.4 MB, free: 4.594 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.003298/0.2979, allocations: 1.744 MB / 451.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2979, allocations: 8.031 kB / 451.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.2981, allocations: 185.9 kB / 451.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.2984, allocations: 168 kB / 451.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.2996, allocations: 0.7007 MB / 452.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/0.2997, allocations: 94.45 kB / 452.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.2998, allocations: 123.9 kB / 452.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.3022, allocations: 1.301 MB / 453.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.3022, allocations: 0 / 453.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.3023, allocations: 56 kB / 453.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.3024, allocations: 32 kB / 453.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.3049, allocations: 1.126 MB / 454.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007843/0.3127, allocations: 4.86 MB / 459.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.3151, allocations: 0.9987 MB / 460.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.3162, allocations: 486.2 kB / 461.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.3162, allocations: 8.656 kB / 461.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.3163, allocations: 51.22 kB / 461.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.645e-06/0.3163, allocations: 3.938 kB / 461.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008081/0.3244, allocations: 2.481 MB / 463.8 MB, free: 5.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3244, allocations: 85.77 kB / 463.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3255, allocations: 0.8097 MB / 464.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.3256, allocations: 41.64 kB / 464.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.326, allocations: 0.6053 MB / 465.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.3263, allocations: 289.5 kB / 465.6 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.3265, allocations: 166.6 kB / 465.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3267, allocations: 353.9 kB / 466.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/0.3275, allocations: 369.8 kB / 466.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.3286, allocations: 0.5707 MB / 467 MB, free: 2.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.3304, allocations: 0.9481 MB / 468 MB, free: 1.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3304, allocations: 4 kB / 468 MB, free: 1.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003065/0.3335, allocations: 1.354 MB / 469.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3335, allocations: 10.97 kB / 469.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3335, allocations: 15.94 kB / 469.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008098/0.3343, allocations: 234.7 kB / 469.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.3378, allocations: 0.831 MB / 470.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.3517, allocations: 10.22 MB / 480.7 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009478/0.3526, allocations: 147.2 kB / 480.8 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.3527, allocations: 39.94 kB / 480.8 MB, free: 3.777 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.0005177/0.3532, allocations: 277.9 kB / 481.1 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.3534, allocations: 107.3 kB / 481.2 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.3536, allocations: 108.8 kB / 481.3 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.3536, allocations: 8 kB / 481.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3536, allocations: 0 / 481.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3536, allocations: 3.984 kB / 481.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/0.3587, allocations: 2.422 MB / 483.7 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3588, allocations: 4 kB / 483.8 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.3593, allocations: 127.9 kB / 483.9 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.3606, allocations: 428.8 kB / 484.3 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.3606, allocations: 12 kB / 484.3 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/0.3738, allocations: 10.28 MB / 494.6 MB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3738, allocations: 0 / 494.6 MB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/0.3786, allocations: 1.937 MB / 496.5 MB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.3789, allocations: 119.2 kB / 496.6 MB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.379, allocations: 16 kB / 496.7 MB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/0.3798, allocations: 107.8 kB / 496.8 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.3799, allocations: 64.47 kB / 496.8 MB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.38, allocations: 24 kB / 496.9 MB, free: 2.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007601/0.3807, allocations: 0.5537 MB / 497.4 MB, free: 2.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3807, allocations: 0 / 497.4 MB, free: 2.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001274/0.382, allocations: 363.3 kB / 497.8 MB, free: 2.016 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.005019/0.387, allocations: 2.5 MB / 0.4885 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005777/0.3928, allocations: 1.964 MB / 0.4905 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3928, allocations: 0 / 0.4905 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.3946, allocations: 1.14 MB / 0.4916 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.3957, allocations: 214.3 kB / 0.4918 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.4123, allocations: 9.257 MB / 0.5008 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.4131, allocations: 1.074 MB / 0.5019 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004322/0.4136, allocations: 107.5 kB / 0.502 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.4141, allocations: 431.3 kB / 0.5024 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4141, allocations: 0 / 0.5024 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07609/0.4902, allocations: 24.91 MB / 0.5267 GB, free: 8.195 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.72, allocations: 8 kB / 0.5267 GB, free: 8.188 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.324968364002416]