Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008467/0.0008467, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008309/0.0008309, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8981/0.8981, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.13e-05, allocations: 9.031 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.1772/0.1772, allocations: 6.582 MB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1796, allocations: 2.231 MB / 451 MB, free: 39.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.1799, allocations: 26.38 kB / 451 MB, free: 39.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.1813, allocations: 1.715 MB / 452.7 MB, free: 38.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007904/0.1821, allocations: 0.7096 MB / 453.4 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.1828, allocations: 0.7185 MB / 454.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.1834, allocations: 1.285 MB / 455.4 MB, free: 36.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.184, allocations: 0.8621 MB / 456.3 MB, free: 36.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.1845, allocations: 0.7494 MB / 457 MB, free: 36.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.1848, allocations: 0.507 MB / 457.5 MB, free: 35.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.142e-05/0.1849, allocations: 107.2 kB / 457.7 MB, free: 35.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.1852, allocations: 293 kB / 457.9 MB, free: 35.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.1853, allocations: 281 kB / 458.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.1855, allocations: 416.2 kB / 458.6 MB, free: 35.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007937/0.1863, allocations: 1.628 MB / 460.2 MB, free: 34.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1863, allocations: 4 kB / 460.3 MB, free: 34.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1863, allocations: 11.22 kB / 460.3 MB, free: 34.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1863, allocations: 0 / 460.3 MB, free: 34.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002065/0.1883, allocations: 1.745 MB / 462 MB, free: 33.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1884, allocations: 9.781 kB / 462 MB, free: 33.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.1885, allocations: 194.3 kB / 462.2 MB, free: 33.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/0.1927, allocations: 1.268 MB / 463.5 MB, free: 33.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.1932, allocations: 0.5072 MB / 464 MB, free: 33.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.1933, allocations: 100.9 kB / 464.1 MB, free: 33.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1934, allocations: 132.6 kB / 464.2 MB, free: 32.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.1946, allocations: 1.427 MB / 465.6 MB, free: 32.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.1946, allocations: 4 kB / 465.6 MB, free: 32.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.1947, allocations: 53.19 kB / 465.7 MB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1947, allocations: 32.59 kB / 465.7 MB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.196, allocations: 1.44 MB / 467.2 MB, free: 31.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.1997, allocations: 3.856 MB / 471 MB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/0.2007, allocations: 0.8212 MB / 471.8 MB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.2011, allocations: 330.2 kB / 472.2 MB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.86e-05/0.2011, allocations: 33.81 kB / 472.2 MB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2012, allocations: 42.44 kB / 472.2 MB, free: 29.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 2.184e-06/0.2012, allocations: 4 kB / 472.2 MB, free: 29.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=90): time 0.00124/0.2024, allocations: 1.055 MB / 473.3 MB, free: 28.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.2024, allocations: 62.19 kB / 473.4 MB, free: 28.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.203, allocations: 0.8485 MB / 474.2 MB, free: 28.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.203, allocations: 40.39 kB / 474.2 MB, free: 28.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2032, allocations: 0.514 MB / 474.8 MB, free: 27.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.2033, allocations: 320 kB / 475.1 MB, free: 27.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.2034, allocations: 202.8 kB / 475.3 MB, free: 27.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.2035, allocations: 401.8 kB / 475.7 MB, free: 27.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.2039, allocations: 345.8 kB / 476 MB, free: 26.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.2043, allocations: 0.6258 MB / 476.6 MB, free: 26.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.2051, allocations: 0.991 MB / 477.6 MB, free: 25.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2051, allocations: 2.906 kB / 477.6 MB, free: 25.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001154/0.2063, allocations: 1.194 MB / 478.8 MB, free: 25.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2063, allocations: 9.25 kB / 478.8 MB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.2063, allocations: 8.688 kB / 478.8 MB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.2065, allocations: 74.61 kB / 478.9 MB, free: 25.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.207, allocations: 262.4 kB / 479.2 MB, free: 25.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.2082, allocations: 2.612 MB / 481.8 MB, free: 22.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.2086, allocations: 163.8 kB / 481.9 MB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.2086, allocations: 49.5 kB / 482 MB, free: 22.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0002315/0.2089, allocations: 254.2 kB / 482.2 MB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.2089, allocations: 99.58 kB / 482.3 MB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.2102, allocations: 1.101 MB / 483.4 MB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2102, allocations: 14.44 kB / 483.4 MB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2102, allocations: 3.328 kB / 483.4 MB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2102, allocations: 4.5 kB / 483.4 MB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.2126, allocations: 2.216 MB / 485.7 MB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2126, allocations: 9.688 kB / 485.7 MB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.213, allocations: 178.3 kB / 485.8 MB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.2131, allocations: 66.48 kB / 485.9 MB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.2131, allocations: 29.98 kB / 485.9 MB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008191/0.214, allocations: 2.608 MB / 488.6 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.214, allocations: 12.84 kB / 488.6 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.2153, allocations: 1.465 MB / 490 MB, free: 16.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2154, allocations: 131.8 kB / 490.2 MB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.2155, allocations: 24 kB / 490.2 MB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.2158, allocations: 50.44 kB / 490.2 MB, free: 16.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.2159, allocations: 85.28 kB / 490.3 MB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.2159, allocations: 37.73 kB / 490.4 MB, free: 16.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004747/0.2164, allocations: 0.5831 MB / 490.9 MB, free: 16.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2164, allocations: 5.125 kB / 490.9 MB, free: 16.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006334/0.2171, allocations: 307.8 kB / 491.2 MB, free: 16.38 MB / 410.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 (93): * Single equations (assignments): 91 * 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.001597/0.2187, allocations: 2.077 MB / 493.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.2198, allocations: 1.051 MB / 494.4 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2198, allocations: 2.25 kB / 494.4 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.2203, allocations: 0.5939 MB / 495 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.2208, allocations: 126.6 kB / 495.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/0.2287, allocations: 8.484 MB / 0.4918 GB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.229, allocations: 424.9 kB / 0.4922 GB, free: 8.973 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000352/0.2294, allocations: 156.7 kB / 0.4923 GB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.2297, allocations: 391.4 kB / 0.4927 GB, free: 8.641 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2297, allocations: 0 / 0.4927 GB, free: 8.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.2643, allocations: 21.27 MB / 0.5135 GB, free: 11.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.811, allocations: 3.938 kB / 0.5135 GB, free: 11.59 MB / 426.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.854251160286367]