Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001737/0.001737, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001994/0.001994, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.507/1.507, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.92 kB / 365.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.1003, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004536/0.1048, allocations: 3.237 MB / 421 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1066, allocations: 0.978 MB / 422 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.1067, allocations: 7.938 kB / 422 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.1069, allocations: 55.42 kB / 422.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1073, allocations: 126.9 kB / 422.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1076, allocations: 147.7 kB / 422.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.1081, allocations: 489.9 kB / 422.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1083, allocations: 91.17 kB / 422.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.1086, allocations: 191.3 kB / 423.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.1088, allocations: 207.1 kB / 423.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.1089, allocations: 40 kB / 423.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1091, allocations: 79.97 kB / 423.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.1091, allocations: 99.61 kB / 423.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.1094, allocations: 211 kB / 423.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006409/0.11, allocations: 0.5018 MB / 424.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.11, allocations: 0 / 424.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.11, allocations: 0 / 424.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.11, allocations: 0 / 424.2 MB, free: 6.156 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001355/0.1114, allocations: 0.7438 MB / 425 MB, free: 5.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1114, allocations: 8.031 kB / 425 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.621e-05/0.1115, allocations: 70.72 kB / 425 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.635e-05/0.1116, allocations: 48.66 kB / 425.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.112, allocations: 307.6 kB / 425.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.1121, allocations: 28.97 kB / 425.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.1121, allocations: 32.38 kB / 425.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.1128, allocations: 353.2 kB / 425.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1128, allocations: 0 / 425.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.1128, allocations: 12 kB / 425.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1128, allocations: 8 kB / 425.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.1134, allocations: 238.5 kB / 426 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.1153, allocations: 1.174 MB / 427.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.116, allocations: 264.2 kB / 427.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.1165, allocations: 205.1 kB / 427.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009268/0.1174, allocations: 1.109 MB / 428.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1175, allocations: 38.8 kB / 428.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.1175, allocations: 0 / 428.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001408/0.1189, allocations: 0.5289 MB / 429.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.1189, allocations: 85.11 kB / 429.4 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.1193, allocations: 328.5 kB / 429.7 MB, free: 96 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.1193, allocations: 37.64 kB / 429.8 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.1195, allocations: 220.5 kB / 430 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.1196, allocations: 103.1 kB / 430.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1197, allocations: 70.02 kB / 430.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1199, allocations: 350.7 kB / 430.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.1202, allocations: 104.7 kB / 430.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.1205, allocations: 185.7 kB / 430.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.121, allocations: 299.7 kB / 431.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.121, allocations: 4 kB / 431.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008206/0.1218, allocations: 429.6 kB / 431.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1219, allocations: 4 kB / 431.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1219, allocations: 4 kB / 431.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.1221, allocations: 64.81 kB / 431.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.1224, allocations: 75.89 kB / 431.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.1245, allocations: 1.951 MB / 433.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.1248, allocations: 47.66 kB / 433.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.1248, allocations: 12 kB / 433.7 MB, free: 11.94 MB / 366.1 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.000185/0.125, allocations: 153.7 kB / 433.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.1251, allocations: 39.83 kB / 433.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/0.1258, allocations: 322.5 kB / 434.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1258, allocations: 4 kB / 434.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1258, allocations: 7.875 kB / 434.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1258, allocations: 3.984 kB / 434.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.1263, allocations: 397.3 kB / 434.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1263, allocations: 0 / 434.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.1267, allocations: 59.89 kB / 434.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.1269, allocations: 56.83 kB / 434.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.1269, allocations: 11.98 kB / 434.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004574/0.1273, allocations: 0.6069 MB / 435.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1273, allocations: 3.984 kB / 435.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.1283, allocations: 0.525 MB / 435.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1284, allocations: 116.8 kB / 436 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.1285, allocations: 8.062 kB / 436 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.1287, allocations: 19.98 kB / 436 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.1288, allocations: 11.98 kB / 436 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.1288, allocations: 19.98 kB / 436 MB, free: 9.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.1291, allocations: 235 kB / 436.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1291, allocations: 0 / 436.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004499/0.1295, allocations: 111.8 kB / 436.3 MB, free: 9.121 MB / 366.1 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.001416/0.1309, allocations: 1.092 MB / 437.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009437/0.1319, allocations: 398.1 kB / 437.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1319, allocations: 0 / 437.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.1322, allocations: 132.3 kB / 438 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1326, allocations: 53.81 kB / 438 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.1378, allocations: 3.749 MB / 441.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1382, allocations: 0.7912 MB / 442.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1383, allocations: 46.83 kB / 442.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.1385, allocations: 127.3 kB / 442.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1385, allocations: 0 / 442.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2557/0.3943, allocations: 7.781 MB / 450.5 MB, free: 29.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.05, allocations: 7.859 kB / 450.5 MB, free: 29.79 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.768787738867104]