Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001795/0.001795, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.002264/0.002264, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.91 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3348, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02426/0.3591, allocations: 19.86 MB / 0.5772 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.371, allocations: 5.001 MB / 0.5821 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004181/0.3752, allocations: 191 kB / 0.5823 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01895/0.3942, allocations: 7.863 MB / 0.5899 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008367/0.4025, allocations: 2.106 MB / 0.592 GB, free: 4.652 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.407, allocations: 1.433 MB / 0.5934 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01904/0.4261, allocations: 12.24 MB / 0.6053 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03777/0.4638, allocations: 16.87 MB / 0.6218 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.477, allocations: 6.655 MB / 0.6283 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01478/0.4918, allocations: 7.292 MB / 0.6354 GB, free: 7.867 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006442/0.4982, allocations: 1.723 MB / 0.6371 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00993/0.5081, allocations: 1.922 MB / 0.639 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008615/0.5168, allocations: 3.655 MB / 0.6426 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01871/0.5355, allocations: 7.015 MB / 0.6494 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03852/0.574, allocations: 23.67 MB / 0.6725 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.574, allocations: 0 / 0.6725 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.505e-06/0.574, allocations: 0 / 0.6725 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.00089/0.5749, allocations: 0 / 0.6725 GB, free: 1.766 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.05624/0.6311, allocations: 14.75 MB / 0.6869 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.356e-05/0.6312, allocations: 12.03 kB / 0.687 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005136/0.6317, allocations: 324.6 kB / 0.6873 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008355/0.6401, allocations: 1.722 MB / 0.6889 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06297/0.703, allocations: 11.18 MB / 0.6999 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02005/0.7231, allocations: 7.491 MB / 0.7072 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/0.7243, allocations: 0.8949 MB / 0.7081 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00845/0.7328, allocations: 1.176 MB / 0.7092 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06116/0.7939, allocations: 18.61 MB / 0.7274 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005674/0.7945, allocations: 19.91 kB / 0.7274 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00523/0.7997, allocations: 496 kB / 0.7279 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009341/0.8007, allocations: 0.6577 MB / 0.7285 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.616/1.417, allocations: 19.13 MB / 0.7472 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1029/1.52, allocations: 59.54 MB / 0.8053 GB, free: 87.19 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/1.537, allocations: 10.7 MB / 0.8158 GB, free: 77 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006679/1.544, allocations: 4.22 MB / 0.8199 GB, free: 72.75 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006178/1.544, allocations: 239.9 kB / 0.8201 GB, free: 72.57 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/1.544, allocations: 103.7 kB / 0.8202 GB, free: 72.46 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.744e-06/1.544, allocations: 0 / 0.8202 GB, free: 72.46 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01952/1.564, allocations: 12.01 MB / 0.832 GB, free: 60.35 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/1.564, allocations: 116.5 kB / 0.8321 GB, free: 60.22 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/1.576, allocations: 8.611 MB / 0.8405 GB, free: 51.67 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001446/1.578, allocations: 133.7 kB / 0.8406 GB, free: 51.54 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00317/1.581, allocations: 4.607 MB / 0.8451 GB, free: 47.43 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002633/1.584, allocations: 2.301 MB / 0.8474 GB, free: 45.12 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002234/1.586, allocations: 1.474 MB / 0.8488 GB, free: 43.64 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/1.586, allocations: 301.1 kB / 0.8491 GB, free: 43.34 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005439/1.591, allocations: 4.113 MB / 0.8531 GB, free: 39.22 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007553/1.599, allocations: 6.913 MB / 0.8599 GB, free: 31.04 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/1.614, allocations: 11.99 MB / 0.8716 GB, free: 17.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/1.614, allocations: 24 kB / 0.8716 GB, free: 17.67 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02505/1.64, allocations: 12.1 MB / 0.8834 GB, free: 5.461 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.64, allocations: 44 kB / 0.8835 GB, free: 5.418 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/1.64, allocations: 92 kB / 0.8835 GB, free: 5.328 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/1.641, allocations: 408.9 kB / 0.8839 GB, free: 4.91 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007675/1.649, allocations: 2.024 MB / 0.8859 GB, free: 2.883 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008421/1.657, allocations: 8.973 MB / 0.8947 GB, free: 9.223 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008427/1.666, allocations: 1.381 MB / 0.896 GB, free: 7.832 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/1.667, allocations: 383.9 kB / 0.8964 GB, free: 7.457 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.01104/1.679, allocations: 4.578 MB / 0.9009 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002684/1.681, allocations: 0.7374 MB / 0.9016 GB, free: 2.121 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02539/1.707, allocations: 10.61 MB / 0.9119 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.453e-05/1.707, allocations: 64 kB / 0.912 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.728e-05/1.707, allocations: 7.938 kB / 0.912 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001477/1.707, allocations: 31.88 kB / 0.912 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5249/2.232, allocations: 152.6 MB / 1.061 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001719/2.232, allocations: 98.55 kB / 1.061 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005428/2.237, allocations: 1.552 MB / 1.063 GB, free: 190.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007901/2.238, allocations: 381.2 kB / 1.063 GB, free: 190.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008668/2.239, allocations: 255.9 kB / 1.063 GB, free: 189.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004815/2.244, allocations: 8.849 MB / 1.072 GB, free: 180.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.559e-05/2.244, allocations: 135.4 kB / 1.072 GB, free: 180.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02103/2.265, allocations: 18.64 MB / 1.09 GB, free: 160 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006469/2.271, allocations: 2.073 MB / 1.092 GB, free: 158.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002563/2.274, allocations: 245.8 kB / 1.092 GB, free: 158 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006872/2.281, allocations: 0.5463 MB / 1.093 GB, free: 157.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/2.282, allocations: 0.7689 MB / 1.094 GB, free: 156.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006096/2.283, allocations: 319.9 kB / 1.094 GB, free: 156.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01213/2.295, allocations: 6.051 MB / 1.1 GB, free: 150.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/2.295, allocations: 0 / 1.1 GB, free: 150.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01174/2.307, allocations: 2.64 MB / 1.103 GB, free: 147.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.02101/2.328, allocations: 19.54 MB / 1.122 GB, free: 126.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02092/2.349, allocations: 10.33 MB / 1.132 GB, free: 115.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001384/2.349, allocations: 16 kB / 1.132 GB, free: 115.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01129/2.36, allocations: 5.285 MB / 1.137 GB, free: 110.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01843/2.379, allocations: 1.486 MB / 1.138 GB, free: 109.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1916/2.57, allocations: 99.32 MB / 1.235 GB, free: 3.371 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01455/2.585, allocations: 7.777 MB / 1.243 GB, free: 11.55 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01223/2.597, allocations: 3.558 MB / 1.246 GB, free: 7.984 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01019/2.607, allocations: 4.209 MB / 1.251 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of SimCode: time 2.144e-06/2.607, allocations: 4 kB / 1.251 GB, free: 3.77 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6071/3.214, allocations: 194.5 MB / 1.44 GB, free: 82.14 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.08/34.29, allocations: 11.91 kB / 1.44 GB, free: 82.12 MB / 0.6857 GB " [Timeout remaining time 625] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 44.01936769601889]