Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 55.92 kB / 365.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09621, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004562/0.1008, allocations: 3.08 MB / 420.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1021, allocations: 0.7715 MB / 421.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1023, allocations: 4 kB / 421.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1025, allocations: 59.42 kB / 421.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.1027, allocations: 115.1 kB / 421.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.103, allocations: 131.7 kB / 422 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007016/0.1037, allocations: 458.2 kB / 422.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.104, allocations: 94.94 kB / 422.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.1043, allocations: 179.3 kB / 422.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1045, allocations: 183.2 kB / 422.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.059e-05/0.1046, allocations: 51.94 kB / 422.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.1047, allocations: 44 kB / 423 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.1048, allocations: 87.75 kB / 423 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.105, allocations: 199 kB / 423.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.1055, allocations: 498.1 kB / 423.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1055, allocations: 0 / 423.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1055, allocations: 3.938 kB / 423.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1055, allocations: 0 / 423.7 MB, free: 6.641 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001501/0.107, allocations: 0.7184 MB / 424.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1071, allocations: 16.02 kB / 424.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.897e-05/0.1071, allocations: 58.73 kB / 424.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.1072, allocations: 48.7 kB / 424.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.1077, allocations: 310.8 kB / 424.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.1077, allocations: 24.88 kB / 424.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.1078, allocations: 32.12 kB / 424.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.1086, allocations: 347.6 kB / 425.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1086, allocations: 0 / 425.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1086, allocations: 12 kB / 425.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1086, allocations: 8 kB / 425.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008915/0.1095, allocations: 306 kB / 425.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.1118, allocations: 1.271 MB / 426.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.1125, allocations: 222.4 kB / 427.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.1129, allocations: 108.8 kB / 427.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1129, allocations: 3.938 kB / 427.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005441/0.1134, allocations: 197.7 kB / 427.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.1135, allocations: 0 / 427.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002656/0.1161, allocations: 0.6884 MB / 428.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/0.1162, allocations: 102.8 kB / 428.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.1166, allocations: 299 kB / 428.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.1166, allocations: 29.7 kB / 428.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1168, allocations: 216 kB / 428.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.1168, allocations: 51.59 kB / 428.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1169, allocations: 49.66 kB / 428.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1171, allocations: 342.8 kB / 429.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.1175, allocations: 119.9 kB / 429.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.118, allocations: 208.7 kB / 429.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.1188, allocations: 326.1 kB / 429.8 MB, free: 204 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1188, allocations: 4 kB / 429.8 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001376/0.1202, allocations: 489.6 kB / 430.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.1202, allocations: 37.69 kB / 430.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1202, allocations: 4 kB / 430.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.1206, allocations: 80.88 kB / 430.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.1209, allocations: 59.89 kB / 430.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.1239, allocations: 2.001 MB / 432.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.1243, allocations: 55.73 kB / 432.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.1243, allocations: 16 kB / 432.5 MB, free: 13.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.1245, allocations: 150.7 kB / 432.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.1245, allocations: 27.92 kB / 432.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.1246, allocations: 37.73 kB / 432.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1246, allocations: 0 / 432.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1246, allocations: 0 / 432.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1246, allocations: 0 / 432.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.125, allocations: 353.3 kB / 433.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.125, allocations: 0 / 433.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.1252, allocations: 27.97 kB / 433.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.1255, allocations: 88.73 kB / 433.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.1255, allocations: 7.938 kB / 433.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.128, allocations: 1.801 MB / 435 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.128, allocations: 3.938 kB / 435 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.1296, allocations: 0.5002 MB / 435.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.1297, allocations: 96.97 kB / 435.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.1297, allocations: 15.98 kB / 435.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.13, allocations: 27.97 kB / 435.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.13, allocations: 27.91 kB / 435.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1301, allocations: 4 kB / 435.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.1303, allocations: 206 kB / 435.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1303, allocations: 0 / 435.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000412/0.1307, allocations: 87.84 kB / 435.9 MB, free: 9.621 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002022/0.1328, allocations: 1.05 MB / 437 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1339, allocations: 438 kB / 437.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1339, allocations: 0 / 437.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005443/0.1344, allocations: 243 kB / 437.7 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1348, allocations: 55.53 kB / 437.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.1407, allocations: 3.314 MB / 441 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.1412, allocations: 0.7639 MB / 441.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1413, allocations: 30.92 kB / 441.8 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1414, allocations: 95.39 kB / 441.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1414, allocations: 0 / 441.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2073/0.3487, allocations: 7.395 MB / 449.3 MB, free: 30.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.2, allocations: 8.406 kB / 449.3 MB, free: 30.8 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable derivative.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! Error: Could not read variable derivative.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.64509979588911]