Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001277/0.001277, allocations: 123 kB / 17.79 MB, free: 5.285 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.001298/0.001298, allocations: 189.2 kB / 20.73 MB, free: 2.352 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.405/1.405, allocations: 225.6 MB / 249.1 MB, free: 3.715 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 47.92 kB / 365.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004341/0.1124, allocations: 2.945 MB / 420.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1137, allocations: 0.7362 MB / 421.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1138, allocations: 4 kB / 421.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.114, allocations: 55.44 kB / 421.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.1142, allocations: 107.1 kB / 421.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1145, allocations: 119.9 kB / 421.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.1149, allocations: 410.4 kB / 422.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1151, allocations: 91.27 kB / 422.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1153, allocations: 159.4 kB / 422.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.1155, allocations: 171.2 kB / 422.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.1156, allocations: 40 kB / 422.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.1157, allocations: 40 kB / 422.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.1157, allocations: 87.73 kB / 422.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.1159, allocations: 171.1 kB / 422.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.1164, allocations: 454.3 kB / 423.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1164, allocations: 3.938 kB / 423.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1164, allocations: 0 / 423.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1164, allocations: 0 / 423.4 MB, free: 7.035 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00132/0.1177, allocations: 0.6845 MB / 424 MB, free: 6.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1177, allocations: 8.031 kB / 424 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.326e-05/0.1178, allocations: 66.66 kB / 424.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.1179, allocations: 36.75 kB / 424.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.1183, allocations: 299.8 kB / 424.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.1183, allocations: 20.94 kB / 424.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.1184, allocations: 24.38 kB / 424.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/0.1191, allocations: 327.7 kB / 424.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1191, allocations: 0 / 424.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.1192, allocations: 11.98 kB / 424.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1192, allocations: 12 kB / 424.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.12, allocations: 282 kB / 425.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.122, allocations: 1.147 MB / 426.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.1228, allocations: 246.5 kB / 426.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.1232, allocations: 104.8 kB / 426.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1232, allocations: 224 / 426.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/0.1237, allocations: 189.3 kB / 426.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.1237, allocations: 0 / 426.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002447/0.1262, allocations: 0.6669 MB / 427.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/0.1263, allocations: 106.8 kB / 427.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.1267, allocations: 286.6 kB / 427.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.1267, allocations: 29.7 kB / 427.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1269, allocations: 204 kB / 428.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.1269, allocations: 47.56 kB / 428.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.127, allocations: 53.94 kB / 428.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1272, allocations: 330.8 kB / 428.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.1275, allocations: 116.1 kB / 428.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.128, allocations: 214 kB / 428.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.1287, allocations: 316.6 kB / 429.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1287, allocations: 4 kB / 429.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00132/0.1301, allocations: 485.7 kB / 429.6 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.1301, allocations: 37.7 kB / 429.6 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.1301, allocations: 8.062 kB / 429.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.1305, allocations: 80.8 kB / 429.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.1307, allocations: 47.91 kB / 429.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.1339, allocations: 2.068 MB / 431.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.1343, allocations: 55.75 kB / 431.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.1343, allocations: 12.06 kB / 431.9 MB, free: 13.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.0001836/0.1345, allocations: 159 kB / 432.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.1345, allocations: 27.81 kB / 432.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.1346, allocations: 37.89 kB / 432.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1346, allocations: 0 / 432.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1346, allocations: 0 / 432.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1346, allocations: 0 / 432.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.1349, allocations: 325.4 kB / 432.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.135, allocations: 0 / 432.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.1351, allocations: 27.91 kB / 432.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.1354, allocations: 80.8 kB / 432.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1354, allocations: 4 kB / 432.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/0.1381, allocations: 1.986 MB / 434.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1381, allocations: 0 / 434.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.1392, allocations: 369.5 kB / 434.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.1393, allocations: 105.1 kB / 435 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.1393, allocations: 7.938 kB / 435 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.1395, allocations: 39.95 kB / 435 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.1396, allocations: 15.98 kB / 435.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1396, allocations: 4 kB / 435.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.1399, allocations: 206 kB / 435.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1399, allocations: 0 / 435.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.1403, allocations: 79.78 kB / 435.3 MB, free: 10.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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.001498/0.1418, allocations: 0.9057 MB / 436.2 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.1432, allocations: 0.49 MB / 436.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1432, allocations: 0 / 436.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.1437, allocations: 243.1 kB / 437 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1441, allocations: 36.55 kB / 437 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/0.1521, allocations: 3.59 MB / 440.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1524, allocations: 0.7596 MB / 441.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1526, allocations: 26.28 kB / 441.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.1527, allocations: 87.41 kB / 441.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1527, allocations: 0 / 441.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2174/0.3701, allocations: 6.88 MB / 448.3 MB, free: 31.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.31, allocations: 4.219 kB / 448.4 MB, free: 31.06 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_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_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable buffer.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.795465934090316]