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.001282/0.001282, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001396/0.001396, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.474/1.474, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.2315/0.2315, allocations: 46.89 MB / 358.1 MB, free: 10.51 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.002233/0.002233, allocations: 84.14 kB / 0.4924 GB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1295, allocations: 65.98 MB / 0.5568 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02284/0.1524, allocations: 19.84 MB / 0.5762 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.1639, allocations: 4.978 MB / 0.581 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004216/0.1682, allocations: 163.5 kB / 0.5812 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01876/0.1869, allocations: 7.839 MB / 0.5888 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008108/0.195, allocations: 2.07 MB / 0.5909 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.1994, allocations: 1.405 MB / 0.5922 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3356/0.535, allocations: 12.17 MB / 0.6041 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04079/0.5758, allocations: 20.58 MB / 0.6242 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/0.5891, allocations: 6.526 MB / 0.6306 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.6045, allocations: 7.278 MB / 0.6377 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006709/0.6112, allocations: 1.723 MB / 0.6394 GB, free: 5.477 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009961/0.6212, allocations: 1.919 MB / 0.6413 GB, free: 3.613 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008205/0.6294, allocations: 3.662 MB / 0.6448 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01957/0.649, allocations: 7.058 MB / 0.6517 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03494/0.6839, allocations: 23.68 MB / 0.6749 GB, free: 3.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.6839, allocations: 0 / 0.6749 GB, free: 3.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6839, allocations: 0 / 0.6749 GB, free: 3.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008371/0.6848, allocations: 0 / 0.6749 GB, free: 3.988 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.04953/0.7343, allocations: 14.83 MB / 0.6893 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.7343, allocations: 12.03 kB / 0.6893 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06108/0.7954, allocations: 11.17 MB / 0.7003 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/0.8131, allocations: 7.367 MB / 0.7075 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/0.8144, allocations: 0.8848 MB / 0.7083 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008096/0.8225, allocations: 1.172 MB / 0.7095 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0546/0.8771, allocations: 18.61 MB / 0.7276 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006223/0.8777, allocations: 22.62 kB / 0.7277 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004589/0.8823, allocations: 0.4887 MB / 0.7281 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000809/0.8831, allocations: 0.6538 MB / 0.7288 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04498/0.9281, allocations: 19.14 MB / 0.7475 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1268/1.055, allocations: 60.35 MB / 0.8064 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02617/1.081, allocations: 16.12 MB / 0.8221 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009178/1.09, allocations: 4.227 MB / 0.8263 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/1.091, allocations: 385.8 kB / 0.8266 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/1.091, allocations: 109.6 kB / 0.8267 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 1.004e-05/1.091, allocations: 0 / 0.8267 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.6488/1.74, allocations: 12.45 MB / 0.8389 GB, free: 164.7 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.74, allocations: 117.7 kB / 0.839 GB, free: 164.6 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01829/1.759, allocations: 8.61 MB / 0.8474 GB, free: 164.3 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001416/1.76, allocations: 136 kB / 0.8475 GB, free: 164.2 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004569/1.765, allocations: 4.605 MB / 0.852 GB, free: 163.1 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00317/1.768, allocations: 2.297 MB / 0.8543 GB, free: 161.8 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003101/1.771, allocations: 1.477 MB / 0.8557 GB, free: 161.7 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/1.771, allocations: 306.1 kB / 0.856 GB, free: 161.4 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00701/1.778, allocations: 4.117 MB / 0.86 GB, free: 160.5 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00913/1.787, allocations: 6.921 MB / 0.8668 GB, free: 155.7 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/1.803, allocations: 11.98 MB / 0.8785 GB, free: 148.8 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001952/1.803, allocations: 27.75 kB / 0.8785 GB, free: 148.8 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02231/1.825, allocations: 12.1 MB / 0.8903 GB, free: 144.8 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/1.825, allocations: 45.25 kB / 0.8904 GB, free: 144.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.825, allocations: 88.41 kB / 0.8905 GB, free: 144.8 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009527/1.826, allocations: 416.2 kB / 0.8909 GB, free: 144.7 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007251/1.834, allocations: 2.016 MB / 0.8928 GB, free: 144.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/1.839, allocations: 9.595 MB / 0.9022 GB, free: 135.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00809/1.847, allocations: 1.385 MB / 0.9035 GB, free: 135.4 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/1.849, allocations: 388.2 kB / 0.9039 GB, free: 135.3 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.009224/1.858, allocations: 4.578 MB / 0.9084 GB, free: 133.4 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/1.86, allocations: 0.7363 MB / 0.9091 GB, free: 133 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.875, allocations: 10.6 MB / 0.9195 GB, free: 125.6 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/1.875, allocations: 71.94 kB / 0.9195 GB, free: 125.6 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.875, allocations: 4 kB / 0.9195 GB, free: 125.5 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.229e-05/1.875, allocations: 32.95 kB / 0.9196 GB, free: 125.5 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1559/2.031, allocations: 161.4 MB / 1.077 GB, free: 10.04 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000205/2.032, allocations: 84 kB / 1.077 GB, free: 9.961 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00614/2.038, allocations: 1.553 MB / 1.079 GB, free: 8.508 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/2.039, allocations: 383.6 kB / 1.079 GB, free: 8.117 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009486/2.04, allocations: 263.9 kB / 1.079 GB, free: 7.859 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008257/2.048, allocations: 9.469 MB / 1.089 GB, free: 13.64 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.925e-05/2.048, allocations: 139 kB / 1.089 GB, free: 13.54 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3704/2.418, allocations: 18.62 MB / 1.107 GB, free: 234.9 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006432/2.425, allocations: 2.071 MB / 1.109 GB, free: 234.8 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002784/2.428, allocations: 244.3 kB / 1.109 GB, free: 234.8 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008057/2.436, allocations: 0.5492 MB / 1.11 GB, free: 234.8 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002119/2.438, allocations: 0.7406 MB / 1.111 GB, free: 234.8 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009862/2.439, allocations: 317.8 kB / 1.111 GB, free: 234.8 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.01544/2.454, allocations: 6.046 MB / 1.117 GB, free: 233.7 MB / 0.7013 GB Notification: Performance of sort global known variables: time 3.01e-07/2.454, allocations: 3.156 kB / 1.117 GB, free: 233.7 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01486/2.469, allocations: 2.647 MB / 1.119 GB, free: 233.5 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.002819/2.472, allocations: 0.494 MB / 1.12 GB, free: 233.2 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01805/2.49, allocations: 10.32 MB / 1.13 GB, free: 229.4 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 0.0001315/2.49, allocations: 15.78 kB / 1.13 GB, free: 229.4 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.008962/2.499, allocations: 5.288 MB / 1.135 GB, free: 227.2 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01415/2.513, allocations: 1.489 MB / 1.137 GB, free: 226.7 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04593/2.559, allocations: 24.46 MB / 1.16 GB, free: 214.2 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/2.57, allocations: 7.518 MB / 1.168 GB, free: 211.5 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003322/2.573, allocations: 0.702 MB / 1.168 GB, free: 211.4 MB / 0.7013 GB Notification: Performance of SimCode: time 1.823e-06/2.573, allocations: 0 / 1.168 GB, free: 211.4 MB / 0.7013 GB Notification: Performance of Templates: time 1.246/3.819, allocations: 0.5414 GB / 1.71 GB, free: 182.5 MB / 0.7013 GB " [Timeout remaining time 656] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 24.6948379939422]