Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.0008049/0.0008049, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008136/0.0008136, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9203/0.9203, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.284e-05, allocations: 2.844 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003353/0.003376, allocations: 2.982 MB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.004855, allocations: 0.9623 MB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.005018, allocations: 4 kB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.005168, allocations: 63.34 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.005501, allocations: 133.7 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.005859, allocations: 163.5 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.006258, allocations: 0.4899 MB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.006447, allocations: 83.7 kB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003861/0.006833, allocations: 299.2 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.006988, allocations: 147.6 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.007034, allocations: 40 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.007154, allocations: 75.95 kB / 329.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.00721, allocations: 95.64 kB / 330 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.007306, allocations: 151.6 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.007741, allocations: 0.5139 MB / 330.7 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.007745, allocations: 4 kB / 330.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.007747, allocations: 0 / 330.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.007755, allocations: 0 / 330.7 MB, free: 9.656 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009586/0.008714, allocations: 0.6568 MB / 331.4 MB, free: 8.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.008758, allocations: 15.98 kB / 331.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.008821, allocations: 66.72 kB / 331.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.00896, allocations: 56.64 kB / 331.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.009338, allocations: 260.5 kB / 331.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.009357, allocations: 21.03 kB / 331.8 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.009404, allocations: 40.38 kB / 331.8 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.009868, allocations: 444.4 kB / 332.2 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.009878, allocations: 192 / 332.2 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.009904, allocations: 24.11 kB / 332.3 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.009911, allocations: 8 kB / 332.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.01022, allocations: 226.5 kB / 332.5 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.0116, allocations: 1.039 MB / 333.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.01205, allocations: 251.5 kB / 333.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.01237, allocations: 196.2 kB / 334 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.01257, allocations: 68.09 kB / 334 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.0126, allocations: 42.73 kB / 334.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.0126, allocations: 0 / 334.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.000937/0.01354, allocations: 445.2 kB / 334.5 MB, free: 5.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.01359, allocations: 85.05 kB / 334.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.01386, allocations: 345.6 kB / 334.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.01389, allocations: 29.7 kB / 335 MB, free: 5.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.014, allocations: 228.5 kB / 335.2 MB, free: 4.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.01406, allocations: 103.1 kB / 335.3 MB, free: 4.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.01414, allocations: 70.06 kB / 335.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.01423, allocations: 346.8 kB / 335.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.01437, allocations: 96.7 kB / 335.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.01456, allocations: 211.4 kB / 336 MB, free: 4.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.01488, allocations: 283.7 kB / 336.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01489, allocations: 0 / 336.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006094/0.0155, allocations: 421.5 kB / 336.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.01552, allocations: 4 kB / 336.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.01553, allocations: 11.97 kB / 336.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.01575, allocations: 68.97 kB / 336.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.01593, allocations: 67.91 kB / 336.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.01724, allocations: 1.828 MB / 338.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.0174, allocations: 47.77 kB / 338.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.01742, allocations: 16 kB / 338.7 MB, free: 1.191 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.01756, allocations: 150 kB / 338.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.0176, allocations: 39.7 kB / 338.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.01804, allocations: 322.6 kB / 339.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01804, allocations: 4 kB / 339.2 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01804, allocations: 4 kB / 339.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01805, allocations: 0 / 339.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.01833, allocations: 332.2 kB / 339.6 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01833, allocations: 4 kB / 339.6 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.0185, allocations: 51.91 kB / 339.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.01864, allocations: 56.81 kB / 339.7 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01866, allocations: 12 kB / 339.7 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003122/0.01897, allocations: 0.607 MB / 340.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01897, allocations: 0 / 340.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.01953, allocations: 0.501 MB / 340.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.01957, allocations: 43.69 kB / 340.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.0196, allocations: 4 kB / 340.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.01973, allocations: 24.05 kB / 340.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.01977, allocations: 19.97 kB / 340.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01978, allocations: 7.984 kB / 340.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.01996, allocations: 239.2 kB / 341.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01996, allocations: 0 / 341.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003309/0.02029, allocations: 103.8 kB / 341.2 MB, free: 14.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008382/0.02112, allocations: 1.077 MB / 342.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005566/0.02168, allocations: 394.1 kB / 342.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02168, allocations: 4.5 kB / 342.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.02188, allocations: 123.9 kB / 342.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.02216, allocations: 40.92 kB / 342.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.02545, allocations: 3.618 MB / 346.5 MB, free: 9.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.02557, allocations: 186.5 kB / 346.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.02568, allocations: 42.89 kB / 346.7 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.0258, allocations: 128.5 kB / 346.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.0258, allocations: 3.938 kB / 346.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.04864, allocations: 8.544 MB / 355.4 MB, free: 412 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/7.995, allocations: 15.67 kB / 355.4 MB, free: 396 kB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 2e-07 --interface-type ModelExchange --solver CVode --output-interval 1.2e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.v_source in file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.825258652679622]