Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.0008693/0.0008693, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007873/0.0007873, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9232/0.9232, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.28e-05, allocations: 4.391 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00275/0.002763, allocations: 2.985 MB / 327.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003867, allocations: 0.9584 MB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.003986, allocations: 7.938 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.00412, allocations: 71.34 kB / 328.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.004371, allocations: 122.9 kB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.004611, allocations: 163.5 kB / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.004914, allocations: 0.4938 MB / 329.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.005075, allocations: 87.7 kB / 329.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.005335, allocations: 291.3 kB / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.005469, allocations: 151.5 kB / 329.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.005507, allocations: 40 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.005608, allocations: 75.97 kB / 330 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.005783, allocations: 99.58 kB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.1e-05/0.005874, allocations: 147.6 kB / 330.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.006233, allocations: 0.5139 MB / 330.8 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006234, allocations: 0 / 330.8 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006235, allocations: 0 / 330.8 MB, free: 9.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.00624, allocations: 4 kB / 330.8 MB, free: 9.699 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.000813/0.007053, allocations: 0.6677 MB / 331.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.007091, allocations: 8.031 kB / 331.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.007145, allocations: 70.72 kB / 331.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.007257, allocations: 56.64 kB / 331.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.007526, allocations: 256.5 kB / 331.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.007547, allocations: 25.03 kB / 331.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.007592, allocations: 36.38 kB / 331.9 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.008014, allocations: 444.4 kB / 332.3 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.008023, allocations: 4.188 kB / 332.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.008047, allocations: 20.12 kB / 332.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.008054, allocations: 4 kB / 332.3 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.008346, allocations: 234.5 kB / 332.6 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.009732, allocations: 1.035 MB / 333.6 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.01013, allocations: 255.5 kB / 333.8 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.01043, allocations: 193.2 kB / 334 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.01062, allocations: 72.16 kB / 334.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.01064, allocations: 38.8 kB / 334.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.01065, allocations: 0 / 334.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007888/0.01144, allocations: 442.2 kB / 334.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.01147, allocations: 81.11 kB / 334.7 MB, free: 5.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.01172, allocations: 349.5 kB / 335 MB, free: 5.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.01174, allocations: 29.7 kB / 335 MB, free: 5.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.01185, allocations: 220.5 kB / 335.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.0119, allocations: 107.1 kB / 335.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.01197, allocations: 74 kB / 335.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.01205, allocations: 346.8 kB / 335.8 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.01219, allocations: 104.6 kB / 335.9 MB, free: 4.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.01236, allocations: 203.5 kB / 336.1 MB, free: 4.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.01266, allocations: 287.7 kB / 336.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01267, allocations: 0 / 336.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004704/0.01314, allocations: 421.6 kB / 336.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01315, allocations: 4 kB / 336.8 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01315, allocations: 4 kB / 336.8 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.01332, allocations: 68.75 kB / 336.8 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.01349, allocations: 71.89 kB / 336.9 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.01468, allocations: 1.828 MB / 338.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.0148, allocations: 43.67 kB / 338.8 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01482, allocations: 19.98 kB / 338.8 MB, free: 1.238 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.000114/0.01494, allocations: 149.8 kB / 338.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.01498, allocations: 39.89 kB / 339 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.01538, allocations: 314.6 kB / 339.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01538, allocations: 7.938 kB / 339.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01539, allocations: 0 / 339.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.01539, allocations: 3.984 kB / 339.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.01566, allocations: 328.3 kB / 339.6 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01566, allocations: 4 kB / 339.6 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.01583, allocations: 55.89 kB / 339.7 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.01595, allocations: 60.81 kB / 339.7 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.01596, allocations: 8 kB / 339.7 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002753/0.01624, allocations: 0.6069 MB / 340.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01624, allocations: 8.094 kB / 340.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.01701, allocations: 0.4935 MB / 340.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.01705, allocations: 39.69 kB / 340.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01708, allocations: 8 kB / 340.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.0172, allocations: 19.97 kB / 340.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.01724, allocations: 15.97 kB / 340.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01725, allocations: 15.98 kB / 340.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.01741, allocations: 239.2 kB / 341.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01741, allocations: 3.938 kB / 341.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.01768, allocations: 107.8 kB / 341.3 MB, free: 14.63 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.0008849/0.01857, allocations: 1.069 MB / 342.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.0191, allocations: 402.1 kB / 342.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.0191, allocations: 0 / 342.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.0193, allocations: 119.9 kB / 342.9 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.01957, allocations: 45.92 kB / 342.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.02269, allocations: 3.609 MB / 346.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.02281, allocations: 190.5 kB / 346.7 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.559e-05/0.0229, allocations: 38.95 kB / 346.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.02303, allocations: 136.4 kB / 346.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02303, allocations: 0 / 346.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.04565, allocations: 8.557 MB / 355.4 MB, free: 472 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.352, allocations: 8.062 kB / 355.4 MB, free: 464 kB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.24082105141133]