Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001318/0.001318, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001574/0.001574, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.585/1.585, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 46.97 MB / 361.7 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 55.91 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 66.04 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02132/0.3793, allocations: 16.96 MB / 0.5779 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.3894, allocations: 4.83 MB / 0.5826 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003098/0.3925, allocations: 198.9 kB / 0.5828 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01733/0.4098, allocations: 7.244 MB / 0.5899 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008258/0.4181, allocations: 2.102 MB / 0.592 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.4229, allocations: 1.386 MB / 0.5933 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01568/0.4386, allocations: 12.23 MB / 0.6052 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02993/0.4685, allocations: 16.88 MB / 0.6217 GB, free: 6.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.4797, allocations: 6.659 MB / 0.6282 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.4918, allocations: 7.288 MB / 0.6354 GB, free: 8.031 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004835/0.4966, allocations: 1.719 MB / 0.637 GB, free: 6.312 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006559/0.5032, allocations: 1.91 MB / 0.6389 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006744/0.5099, allocations: 3.67 MB / 0.6425 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01161/0.5215, allocations: 5.479 MB / 0.6478 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03148/0.553, allocations: 23.79 MB / 0.6711 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.553, allocations: 4 kB / 0.6711 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.553, allocations: 3.938 kB / 0.6711 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008889/0.5539, allocations: 0 / 0.6711 GB, free: 3.348 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.04215/0.596, allocations: 14.74 MB / 0.6855 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5961, allocations: 12.03 kB / 0.6855 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003832/0.5965, allocations: 332.6 kB / 0.6858 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006399/0.6029, allocations: 1.722 MB / 0.6875 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06136/0.6642, allocations: 11.17 MB / 0.6984 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/0.6823, allocations: 7.503 MB / 0.7057 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/0.6833, allocations: 0.8832 MB / 0.7066 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004616/0.6879, allocations: 1.176 MB / 0.7077 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04906/0.737, allocations: 19.14 MB / 0.7264 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005536/0.7375, allocations: 19.89 kB / 0.7264 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004007/0.7415, allocations: 500 kB / 0.7269 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007846/0.7423, allocations: 0.6577 MB / 0.7276 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5391/1.281, allocations: 19.13 MB / 0.7462 GB, free: 135.6 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0874/1.369, allocations: 55.04 MB / 0.8 GB, free: 89.21 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.386, allocations: 10.63 MB / 0.8104 GB, free: 79.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006693/1.393, allocations: 4.216 MB / 0.8145 GB, free: 74.86 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/1.393, allocations: 192.9 kB / 0.8147 GB, free: 74.66 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.536e-05/1.393, allocations: 107.6 kB / 0.8148 GB, free: 74.55 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.508e-06/1.393, allocations: 0 / 0.8148 GB, free: 74.55 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01926/1.413, allocations: 12 MB / 0.8265 GB, free: 62.45 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/1.413, allocations: 116.5 kB / 0.8266 GB, free: 62.32 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01329/1.426, allocations: 8.609 MB / 0.835 GB, free: 53.77 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.427, allocations: 133.6 kB / 0.8351 GB, free: 53.63 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003473/1.431, allocations: 4.614 MB / 0.8396 GB, free: 49.51 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/1.433, allocations: 2.297 MB / 0.8419 GB, free: 47.25 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002338/1.435, allocations: 1.47 MB / 0.8433 GB, free: 45.77 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.496e-05/1.435, allocations: 305.1 kB / 0.8436 GB, free: 45.47 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005308/1.44, allocations: 4.117 MB / 0.8476 GB, free: 41.35 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007063/1.448, allocations: 6.917 MB / 0.8544 GB, free: 33.16 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/1.461, allocations: 11.98 MB / 0.8661 GB, free: 19.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.461, allocations: 28 kB / 0.8661 GB, free: 19.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02178/1.483, allocations: 12.1 MB / 0.8779 GB, free: 7.586 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/1.483, allocations: 44 kB / 0.878 GB, free: 7.543 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/1.483, allocations: 88 kB / 0.8781 GB, free: 7.457 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/1.484, allocations: 409.3 kB / 0.8785 GB, free: 7.039 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007475/1.491, allocations: 2.016 MB / 0.8804 GB, free: 5.02 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007107/1.498, allocations: 8.941 MB / 0.8892 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007725/1.506, allocations: 1.381 MB / 0.8905 GB, free: 10 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.508, allocations: 387.9 kB / 0.8909 GB, free: 9.621 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.01127/1.519, allocations: 4.578 MB / 0.8953 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002422/1.522, allocations: 0.7335 MB / 0.8961 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02411/1.546, allocations: 10.61 MB / 0.9064 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/1.546, allocations: 64 kB / 0.9065 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/1.546, allocations: 7.938 kB / 0.9065 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001588/1.546, allocations: 35.86 kB / 0.9065 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.488/2.034, allocations: 151.4 MB / 1.054 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002427/2.034, allocations: 84 kB / 1.054 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005461/2.04, allocations: 1.56 MB / 1.056 GB, free: 190.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00075/2.041, allocations: 383.8 kB / 1.056 GB, free: 190 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007836/2.041, allocations: 259.8 kB / 1.057 GB, free: 189.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/2.046, allocations: 8.807 MB / 1.065 GB, free: 180.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-05/2.046, allocations: 135.4 kB / 1.065 GB, free: 180.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02083/2.067, allocations: 18.64 MB / 1.084 GB, free: 159.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005347/2.072, allocations: 2.076 MB / 1.086 GB, free: 158.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002453/2.075, allocations: 243.5 kB / 1.086 GB, free: 157.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005865/2.081, allocations: 0.5424 MB / 1.086 GB, free: 157.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00144/2.082, allocations: 0.7728 MB / 1.087 GB, free: 156.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006692/2.083, allocations: 315.9 kB / 1.087 GB, free: 156.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.009318/2.092, allocations: 6.051 MB / 1.093 GB, free: 150.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/2.092, allocations: 4 kB / 1.093 GB, free: 150.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009788/2.102, allocations: 2.64 MB / 1.096 GB, free: 147.8 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.02043/2.122, allocations: 19.54 MB / 1.115 GB, free: 126.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01476/2.137, allocations: 10.33 MB / 1.125 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001488/2.137, allocations: 15.94 kB / 1.125 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00842/2.146, allocations: 5.29 MB / 1.13 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.01234/2.158, allocations: 1.486 MB / 1.132 GB, free: 109 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1492/2.307, allocations: 99.24 MB / 1.229 GB, free: 3.383 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/2.321, allocations: 7.353 MB / 1.236 GB, free: 11.99 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01108/2.332, allocations: 3.566 MB / 1.239 GB, free: 8.41 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01003/2.342, allocations: 4.205 MB / 1.243 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of SimCode: time 1.693e-06/2.342, allocations: 0 / 1.243 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5465/2.888, allocations: 195.1 MB / 1.434 GB, free: 79.23 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.93/33.82, allocations: 0 / 1.434 GB, free: 79.23 MB / 0.6857 GB " [Timeout remaining time 626] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 43.74343326105736]