Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001628/0.001628, 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.001659/0.001659, 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.485/1.485, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 55.92 kB / 365.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1043, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006147/0.1104, allocations: 4.471 MB / 422.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1126, allocations: 1.223 MB / 423.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.1129, allocations: 19.88 kB / 423.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.1133, allocations: 134.8 kB / 423.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.1137, allocations: 210.2 kB / 423.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1142, allocations: 199.6 kB / 424.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008933/0.1151, allocations: 0.7553 MB / 424.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.1154, allocations: 194.6 kB / 425 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.1158, allocations: 294.9 kB / 425.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.1162, allocations: 330.5 kB / 425.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.1163, allocations: 64 kB / 425.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.1164, allocations: 64 kB / 425.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1166, allocations: 147.5 kB / 425.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.1169, allocations: 338.3 kB / 426.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008347/0.1177, allocations: 0.7469 MB / 427 MB, free: 3.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1177, allocations: 4 kB / 427 MB, free: 3.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1177, allocations: 0 / 427 MB, free: 3.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1177, allocations: 0 / 427 MB, free: 3.375 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001864/0.1196, allocations: 0.9659 MB / 427.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1197, allocations: 8.031 kB / 427.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.1198, allocations: 106.7 kB / 428.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.1199, allocations: 76.47 kB / 428.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.1205, allocations: 410.2 kB / 428.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.1205, allocations: 45.62 kB / 428.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.1206, allocations: 60.12 kB / 428.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1217, allocations: 0.5495 MB / 429.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1217, allocations: 0 / 429.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.1217, allocations: 28 kB / 429.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1217, allocations: 12 kB / 429.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000913/0.1227, allocations: 421 kB / 429.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.1259, allocations: 1.813 MB / 431.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.1268, allocations: 0.491 MB / 431.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.1279, allocations: 425.6 kB / 432.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.128, allocations: 4.328 kB / 432.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006027/0.1286, allocations: 302.1 kB / 432.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.305e-06/0.1286, allocations: 4 kB / 432.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.004254/0.1328, allocations: 1.295 MB / 433.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.133, allocations: 239.3 kB / 434.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.1336, allocations: 433.9 kB / 434.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.1337, allocations: 33.7 kB / 434.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1339, allocations: 308.8 kB / 434.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.134, allocations: 150.7 kB / 435.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.1342, allocations: 98.14 kB / 435.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1344, allocations: 362.8 kB / 435.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.1347, allocations: 149 kB / 435.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.1353, allocations: 317.7 kB / 436 MB, free: 9.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007947/0.136, allocations: 451.2 kB / 436.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1361, allocations: 7.938 kB / 436.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001875/0.1379, allocations: 0.7675 MB / 437.2 MB, free: 8.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.138, allocations: 8 kB / 437.2 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.138, allocations: 4 kB / 437.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007454/0.1387, allocations: 216.7 kB / 437.4 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.139, allocations: 75.83 kB / 437.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005623/0.1446, allocations: 3.138 MB / 440.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.1452, allocations: 83.66 kB / 440.7 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.1453, allocations: 23.98 kB / 440.8 MB, free: 4.926 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.1456, allocations: 185.6 kB / 440.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.1457, allocations: 47.72 kB / 441 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.1458, allocations: 52.88 kB / 441 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.1458, allocations: 12.02 kB / 441 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1458, allocations: 0 / 441 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1458, allocations: 4 kB / 441 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.1483, allocations: 1.273 MB / 442.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1483, allocations: 4 kB / 442.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.1485, allocations: 35.98 kB / 442.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006505/0.1492, allocations: 214.1 kB / 442.6 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1492, allocations: 15.98 kB / 442.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1854/0.3346, allocations: 3.049 MB / 445.6 MB, free: 29.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3346, allocations: 0 / 445.6 MB, free: 29.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.3366, allocations: 0.9315 MB / 446.6 MB, free: 29.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3367, allocations: 127.8 kB / 446.7 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.3368, allocations: 8.469 kB / 446.7 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3372, allocations: 48.58 kB / 446.7 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3373, allocations: 32.41 kB / 446.8 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.3373, allocations: 13.89 kB / 446.8 MB, free: 29.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.3376, allocations: 299.2 kB / 447.1 MB, free: 29.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3376, allocations: 0 / 447.1 MB, free: 29.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006641/0.3383, allocations: 189.4 kB / 447.3 MB, free: 29.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/0.3403, allocations: 1.479 MB / 448.7 MB, free: 28.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.3418, allocations: 0.6487 MB / 449.4 MB, free: 28.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3418, allocations: 0 / 449.4 MB, free: 28.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000653/0.3424, allocations: 410.8 kB / 449.8 MB, free: 28.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.343, allocations: 82.94 kB / 449.9 MB, free: 28.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/0.3505, allocations: 4.893 MB / 454.8 MB, free: 26.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.3509, allocations: 0.8693 MB / 455.6 MB, free: 25.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.3511, allocations: 45.02 kB / 455.7 MB, free: 25.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3513, allocations: 179.8 kB / 455.9 MB, free: 25.52 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3513, allocations: 0 / 455.9 MB, free: 25.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05785/0.4091, allocations: 12.39 MB / 468.3 MB, free: 22.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.69, allocations: 9.672 kB / 468.3 MB, free: 22.37 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.v_out in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv. Warning: Get data of variable opAmp.v_out from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.388002725783736]