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.001322/0.001322, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001563/0.001563, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.489/1.489, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.2416/0.2416, allocations: 46.92 MB / 357 MB, free: 10.21 MB / 286.1 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 0.002187/0.002187, allocations: 83.88 kB / 0.491 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1457, allocations: 66.04 MB / 0.5555 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009104/0.1548, allocations: 7.527 MB / 0.5628 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.1601, allocations: 2.365 MB / 0.5651 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1611, allocations: 27.94 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004329/0.1654, allocations: 1.755 MB / 0.5669 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.1678, allocations: 0.7016 MB / 0.5675 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.1697, allocations: 0.7617 MB / 0.5683 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.1715, allocations: 1.253 MB / 0.5695 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.173, allocations: 0.7114 MB / 0.5702 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1741, allocations: 0.5254 MB / 0.5707 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1752, allocations: 0.6613 MB / 0.5714 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.1755, allocations: 104 kB / 0.5715 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1766, allocations: 299.8 kB / 0.5718 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.177, allocations: 279 kB / 0.572 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009156/0.1779, allocations: 0.6024 MB / 0.5726 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.1805, allocations: 1.607 MB / 0.5742 GB, free: 2.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1805, allocations: 7.938 kB / 0.5742 GB, free: 2.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1805, allocations: 4 kB / 0.5742 GB, free: 2.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.64e-05/0.1805, allocations: 0 / 0.5742 GB, free: 2.297 MB / 430.1 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.005201/0.1857, allocations: 1.825 MB / 0.576 GB, free: 428 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1858, allocations: 16.03 kB / 0.576 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002275/0.186, allocations: 194.7 kB / 0.5762 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009458/0.1955, allocations: 1.272 MB / 0.5774 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.1971, allocations: 0.5648 MB / 0.578 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1972, allocations: 103 kB / 0.5781 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.1974, allocations: 135.9 kB / 0.5782 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.2, allocations: 1.249 MB / 0.5794 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.2001, allocations: 3.984 kB / 0.5794 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.2002, allocations: 56 kB / 0.5795 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.2002, allocations: 36 kB / 0.5795 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.2028, allocations: 1.459 MB / 0.5809 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008971/0.2117, allocations: 5.805 MB / 0.5866 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.2137, allocations: 1.048 MB / 0.5876 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.2143, allocations: 337.9 kB / 0.5879 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.2145, allocations: 183.2 kB / 0.5881 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.2146, allocations: 43.56 kB / 0.5882 GB, free: 3.266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 2.495e-06/0.2146, allocations: 8 kB / 0.5882 GB, free: 3.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002447/0.217, allocations: 1.211 MB / 0.5893 GB, free: 1.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.2171, allocations: 60.41 kB / 0.5894 GB, free: 1.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.2182, allocations: 0.8325 MB / 0.5902 GB, free: 1.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.2183, allocations: 41.7 kB / 0.5903 GB, free: 1.031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.2186, allocations: 0.5117 MB / 0.5908 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.2189, allocations: 325.2 kB / 0.5911 GB, free: 196 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2583/0.4772, allocations: 208.2 kB / 0.5913 GB, free: 33.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4774, allocations: 396 kB / 0.5916 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.478, allocations: 348.5 kB / 0.592 GB, free: 33.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007359/0.4788, allocations: 0.6149 MB / 0.5926 GB, free: 33.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.4802, allocations: 0.9986 MB / 0.5936 GB, free: 32.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.4802, allocations: 4.938 kB / 0.5936 GB, free: 32.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002209/0.4824, allocations: 1.197 MB / 0.5947 GB, free: 32.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4824, allocations: 12.25 kB / 0.5947 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.4824, allocations: 8.469 kB / 0.5947 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.4827, allocations: 65.98 kB / 0.5948 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4837, allocations: 263.1 kB / 0.5951 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4853, allocations: 2.822 MB / 0.5978 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.4862, allocations: 154.7 kB / 0.598 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.4863, allocations: 53 kB / 0.598 GB, free: 29.88 MB / 446.1 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.0003489/0.4866, allocations: 255.8 kB / 0.5983 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.4868, allocations: 104.9 kB / 0.5984 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.4888, allocations: 1.102 MB / 0.5994 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.4888, allocations: 9.344 kB / 0.5994 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4888, allocations: 1.531 kB / 0.5994 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.4888, allocations: 6.594 kB / 0.5995 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.4927, allocations: 3.177 MB / 0.6026 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.4927, allocations: 5.953 kB / 0.6026 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.4936, allocations: 180.2 kB / 0.6027 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.4938, allocations: 63.8 kB / 0.6028 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/0.4939, allocations: 31.73 kB / 0.6028 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.4954, allocations: 2.828 MB / 0.6056 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.4955, allocations: 10.66 kB / 0.6056 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.4979, allocations: 1.48 MB / 0.607 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.4982, allocations: 203.4 kB / 0.6072 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.4983, allocations: 30.77 kB / 0.6073 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/0.499, allocations: 52.17 kB / 0.6073 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.4991, allocations: 81.73 kB / 0.6074 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.4992, allocations: 33.69 kB / 0.6074 GB, free: 23.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007441/0.4999, allocations: 0.5801 MB / 0.608 GB, free: 22.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4999, allocations: 0 / 0.608 GB, free: 22.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001087/0.501, allocations: 313.7 kB / 0.6083 GB, free: 22.81 MB / 446.1 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.002629/0.5037, allocations: 2.087 MB / 0.6103 GB, free: 21.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.5055, allocations: 1.054 MB / 0.6114 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/0.5056, allocations: 1.969 kB / 0.6114 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008911/0.5064, allocations: 0.5909 MB / 0.6119 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.5073, allocations: 122 kB / 0.6121 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.519, allocations: 8.465 MB / 0.6203 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.5196, allocations: 1.019 MB / 0.6213 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006082/0.5202, allocations: 149.4 kB / 0.6215 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/0.5206, allocations: 389.8 kB / 0.6218 GB, free: 14.45 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5206, allocations: 1 kB / 0.6218 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05374/0.5744, allocations: 19.97 MB / 0.6413 GB, free: 1.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.98, allocations: 10.09 kB / 0.6413 GB, free: 1.547 MB / 446.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 15.251053620013408]