Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001675/0.001675, allocations: 113.6 kB / 18.5 MB, free: 4.562 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.002213/0.002213, allocations: 197 kB / 21.45 MB, free: 1.613 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.597/1.597, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2737/0.2737, allocations: 46.89 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 87.84 kB / 0.4917 GB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1502, allocations: 65.98 MB / 0.5561 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0229/0.1731, allocations: 19.84 MB / 0.5755 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1856, allocations: 4.99 MB / 0.5804 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005309/0.1909, allocations: 163.4 kB / 0.5805 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02021/0.2111, allocations: 7.831 MB / 0.5882 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00919/0.2203, allocations: 2.066 MB / 0.5902 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.225, allocations: 1.4 MB / 0.5916 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3869/0.6118, allocations: 12.17 MB / 0.6035 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04505/0.6569, allocations: 20.57 MB / 0.6235 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01657/0.6735, allocations: 6.525 MB / 0.6299 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01586/0.6893, allocations: 7.28 MB / 0.637 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0066/0.6959, allocations: 1.719 MB / 0.6387 GB, free: 5.316 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008924/0.7049, allocations: 1.92 MB / 0.6406 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008744/0.7136, allocations: 3.666 MB / 0.6442 GB, free: 372 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0218/0.7354, allocations: 7.05 MB / 0.651 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03326/0.7687, allocations: 23.68 MB / 0.6742 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.7687, allocations: 4 kB / 0.6742 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7687, allocations: 0 / 0.6742 GB, free: 3.816 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005765/0.7692, allocations: 0 / 0.6742 GB, free: 3.816 MB / 494.1 MB 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.05207/0.8213, allocations: 14.83 MB / 0.6887 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.8214, allocations: 8.031 kB / 0.6887 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06309/0.8845, allocations: 11.17 MB / 0.6996 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/0.9043, allocations: 7.365 MB / 0.7068 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/0.9054, allocations: 0.8923 MB / 0.7076 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005136/0.9106, allocations: 1.17 MB / 0.7088 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04969/0.9603, allocations: 18.61 MB / 0.727 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007764/0.961, allocations: 19.94 kB / 0.727 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005352/0.9664, allocations: 492.3 kB / 0.7274 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008735/0.9673, allocations: 0.6578 MB / 0.7281 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04517/1.012, allocations: 19.14 MB / 0.7468 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1316/1.144, allocations: 60.36 MB / 0.8057 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02506/1.169, allocations: 16.11 MB / 0.8214 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008773/1.178, allocations: 4.216 MB / 0.8256 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.179, allocations: 392.7 kB / 0.8259 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/1.179, allocations: 103.7 kB / 0.826 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 1.459e-05/1.179, allocations: 0 / 0.826 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.6065/1.785, allocations: 12.45 MB / 0.8382 GB, free: 162.5 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/1.786, allocations: 124.7 kB / 0.8383 GB, free: 162.4 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01776/1.803, allocations: 8.613 MB / 0.8467 GB, free: 162.1 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001494/1.805, allocations: 131.6 kB / 0.8469 GB, free: 162 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.005257/1.81, allocations: 4.609 MB / 0.8514 GB, free: 160.8 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00329/1.813, allocations: 2.303 MB / 0.8536 GB, free: 159.6 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003271/1.817, allocations: 1.47 MB / 0.855 GB, free: 159.5 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/1.817, allocations: 304.6 kB / 0.8553 GB, free: 159.2 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008809/1.826, allocations: 4.116 MB / 0.8593 GB, free: 158.5 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01216/1.838, allocations: 6.918 MB / 0.8661 GB, free: 153.6 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/1.853, allocations: 11.98 MB / 0.8778 GB, free: 146.7 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001573/1.853, allocations: 23.78 kB / 0.8778 GB, free: 146.7 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02386/1.877, allocations: 12.1 MB / 0.8896 GB, free: 142.7 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/1.877, allocations: 49.14 kB / 0.8897 GB, free: 142.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.877, allocations: 89.69 kB / 0.8898 GB, free: 142.7 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/1.878, allocations: 415.7 kB / 0.8902 GB, free: 142.6 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00781/1.886, allocations: 2.013 MB / 0.8921 GB, free: 142.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006312/1.892, allocations: 9.591 MB / 0.9015 GB, free: 133.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00981/1.902, allocations: 1.379 MB / 0.9029 GB, free: 133.3 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002258/1.904, allocations: 385.5 kB / 0.9032 GB, free: 133.2 MB / 0.6388 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.01117/1.915, allocations: 4.584 MB / 0.9077 GB, free: 131.3 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002432/1.918, allocations: 0.7383 MB / 0.9084 GB, free: 130.9 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/1.936, allocations: 10.6 MB / 0.9188 GB, free: 125.1 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/1.936, allocations: 64 kB / 0.9188 GB, free: 125.1 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.936, allocations: 4 kB / 0.9188 GB, free: 125.1 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.983e-05/1.936, allocations: 41.64 kB / 0.9189 GB, free: 125.1 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1692/2.105, allocations: 161.4 MB / 1.077 GB, free: 9.699 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005904/2.106, allocations: 84 kB / 1.077 GB, free: 9.617 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007212/2.113, allocations: 1.553 MB / 1.078 GB, free: 8.164 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/2.114, allocations: 388.8 kB / 1.079 GB, free: 7.77 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001796/2.116, allocations: 259.9 kB / 1.079 GB, free: 7.516 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/2.126, allocations: 9.458 MB / 1.088 GB, free: 13.3 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001256/2.126, allocations: 137.8 kB / 1.088 GB, free: 13.2 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3917/2.518, allocations: 18.63 MB / 1.106 GB, free: 234.6 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01143/2.529, allocations: 2.069 MB / 1.108 GB, free: 234.5 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005138/2.534, allocations: 246.1 kB / 1.109 GB, free: 234.5 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009942/2.544, allocations: 0.5447 MB / 1.109 GB, free: 234.5 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003315/2.548, allocations: 0.7438 MB / 1.11 GB, free: 234.5 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001536/2.549, allocations: 322.6 kB / 1.11 GB, free: 234.5 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0178/2.567, allocations: 6.047 MB / 1.116 GB, free: 233.5 MB / 0.7013 GB Notification: Performance of sort global known variables: time 2.71e-07/2.567, allocations: 0 / 1.116 GB, free: 233.5 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01466/2.582, allocations: 2.643 MB / 1.119 GB, free: 233.2 MB / 0.7013 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.002482/2.584, allocations: 0.4926 MB / 1.119 GB, free: 232.9 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01762/2.602, allocations: 10.33 MB / 1.129 GB, free: 229.1 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 0.0001179/2.602, allocations: 11.88 kB / 1.129 GB, free: 229.1 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/2.612, allocations: 5.287 MB / 1.134 GB, free: 227 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01568/2.628, allocations: 1.492 MB / 1.136 GB, free: 226.5 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04309/2.671, allocations: 24.84 MB / 1.16 GB, free: 213.7 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00975/2.681, allocations: 7.768 MB / 1.168 GB, free: 211 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.008704/2.689, allocations: 3.564 MB / 1.171 GB, free: 210.7 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002363/2.692, allocations: 0.6378 MB / 1.172 GB, free: 210.3 MB / 0.7013 GB Notification: Performance of SimCode: time 1.222e-06/2.692, allocations: 4 kB / 1.172 GB, free: 210.3 MB / 0.7013 GB Notification: Performance of Templates: time 0.1397/2.831, allocations: 99.44 MB / 1.269 GB, free: 115.4 MB / 0.7013 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.212681747041643]