Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.0009117/0.0009117, allocations: 80.53 kB / 19.92 MB, free: 4.637 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.0009519/0.0009519, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.935/0.935, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1422/0.1422, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.528e-05, allocations: 17.95 kB / 406.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005375/0.0054, allocations: 6.102 MB / 413 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003422/0.008822, allocations: 2.089 MB / 415 MB, free: 9.996 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.009455, allocations: 23.94 kB / 415.1 MB, free: 9.973 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.01116, allocations: 1.497 MB / 416.6 MB, free: 8.469 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.01241, allocations: 0.7029 MB / 417.3 MB, free: 7.762 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.01331, allocations: 0.6853 MB / 417.9 MB, free: 7.074 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.01441, allocations: 1.24 MB / 419.2 MB, free: 5.828 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009387/0.01535, allocations: 0.7607 MB / 420 MB, free: 5.043 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.01636, allocations: 0.7014 MB / 420.7 MB, free: 4.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.01693, allocations: 482.6 kB / 421.1 MB, free: 3.867 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.01713, allocations: 96 kB / 421.2 MB, free: 3.773 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006772/0.01781, allocations: 271.6 kB / 421.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.01794, allocations: 254.9 kB / 421.7 MB, free: 3.258 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.01822, allocations: 406.9 kB / 422.1 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.01953, allocations: 1.491 MB / 423.6 MB, free: 1.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01953, allocations: 4 kB / 423.6 MB, free: 1.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01953, allocations: 0 / 423.6 MB, free: 1.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.161e-05/0.01957, allocations: 0 / 423.6 MB, free: 1.359 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002936/0.0225, allocations: 1.648 MB / 425.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.02255, allocations: 8.031 kB / 425.3 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.02271, allocations: 194.1 kB / 425.5 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.02744, allocations: 1.417 MB / 426.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.0283, allocations: 0.4953 MB / 427.4 MB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.02835, allocations: 94.48 kB / 427.5 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.02849, allocations: 127.9 kB / 427.6 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.03002, allocations: 1.357 MB / 429 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.03005, allocations: 7.984 kB / 429 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.03013, allocations: 52 kB / 429 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.03014, allocations: 28 kB / 429 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.03166, allocations: 1.419 MB / 430.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.03596, allocations: 3.554 MB / 434 MB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.03704, allocations: 0.839 MB / 434.9 MB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.03741, allocations: 331.7 kB / 435.2 MB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.359e-05/0.03747, allocations: 16.98 kB / 435.2 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.0375, allocations: 55.5 kB / 435.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.026e-06/0.03751, allocations: 0 / 435.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=91): time 0.001349/0.03885, allocations: 1.041 MB / 436.3 MB, free: 4.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.03889, allocations: 64.34 kB / 436.4 MB, free: 4.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.03953, allocations: 0.8244 MB / 437.2 MB, free: 3.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.03957, allocations: 41.7 kB / 437.2 MB, free: 3.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.03979, allocations: 496.1 kB / 437.7 MB, free: 2.977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.03993, allocations: 317.2 kB / 438 MB, free: 2.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.04012, allocations: 194.9 kB / 438.2 MB, free: 2.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.04025, allocations: 398.7 kB / 438.6 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.04064, allocations: 346.5 kB / 438.9 MB, free: 1.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.04115, allocations: 0.6062 MB / 439.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.04212, allocations: 0.9711 MB / 440.5 MB, free: 15.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.04214, allocations: 7.938 kB / 440.5 MB, free: 15.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001434/0.04357, allocations: 1.17 MB / 441.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.04359, allocations: 12 kB / 441.7 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.0436, allocations: 8 kB / 441.7 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.0438, allocations: 74.31 kB / 441.8 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.04431, allocations: 259.6 kB / 442 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.04574, allocations: 2.609 MB / 444.6 MB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.04624, allocations: 150.8 kB / 444.8 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.04629, allocations: 55.92 kB / 444.8 MB, free: 11.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002964/0.04659, allocations: 254.1 kB / 445.1 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.04669, allocations: 99.33 kB / 445.2 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.0479, allocations: 1.111 MB / 446.3 MB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.04791, allocations: 8 kB / 446.3 MB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.04791, allocations: 4 kB / 446.3 MB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.04792, allocations: 7.922 kB / 446.3 MB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.05034, allocations: 2.146 MB / 448.5 MB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.05034, allocations: 8 kB / 448.5 MB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.05072, allocations: 183.8 kB / 448.6 MB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.05086, allocations: 61.67 kB / 448.7 MB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.0509, allocations: 24 kB / 448.7 MB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.05218, allocations: 2.613 MB / 451.3 MB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.05218, allocations: 4 kB / 451.3 MB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.05361, allocations: 1.47 MB / 452.8 MB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.05379, allocations: 131.1 kB / 452.9 MB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.05387, allocations: 24 kB / 453 MB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.05419, allocations: 59.97 kB / 453 MB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.05429, allocations: 84.34 kB / 453.1 MB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.05433, allocations: 36 kB / 453.1 MB, free: 2.527 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005028/0.05483, allocations: 0.5654 MB / 453.7 MB, free: 1.965 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05483, allocations: 0 / 453.7 MB, free: 1.965 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007332/0.05556, allocations: 291.7 kB / 454 MB, free: 1.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/0.05752, allocations: 2.08 MB / 456.1 MB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.05887, allocations: 1.047 MB / 457.1 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.05887, allocations: 0 / 457.1 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.05946, allocations: 0.5953 MB / 457.7 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.06004, allocations: 119.8 kB / 457.8 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008905/0.06895, allocations: 8.324 MB / 466.2 MB, free: 4.852 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.06923, allocations: 403.2 kB / 466.6 MB, free: 4.426 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003929/0.06962, allocations: 159.6 kB / 466.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.06997, allocations: 364.4 kB / 467.1 MB, free: 3.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/0.06997, allocations: 0 / 467.1 MB, free: 3.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1893/0.2593, allocations: 20.45 MB / 487.5 MB, free: 86.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.029, allocations: 12 kB / 487.5 MB, free: 86.58 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable v.re in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.286516845226288]