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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001934, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2371/0.2371, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB 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.002253/0.002253, allocations: 88.03 kB / 481.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3758, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02352/0.3994, allocations: 19.76 MB / 0.5504 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.4114, allocations: 4.98 MB / 0.5552 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004511/0.4161, allocations: 159.5 kB / 0.5554 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01758/0.4337, allocations: 7.765 MB / 0.563 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009272/0.4429, allocations: 2.051 MB / 0.565 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.4472, allocations: 1.401 MB / 0.5663 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01661/0.4638, allocations: 12.18 MB / 0.5782 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03834/0.5022, allocations: 26.06 MB / 0.6037 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.5129, allocations: 6.51 MB / 0.61 GB, free: 452 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01285/0.5258, allocations: 7.202 MB / 0.6171 GB, free: 9.215 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006394/0.5322, allocations: 1.727 MB / 0.6188 GB, free: 7.488 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008873/0.5411, allocations: 1.918 MB / 0.6206 GB, free: 5.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00688/0.5481, allocations: 3.655 MB / 0.6242 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01346/0.5615, allocations: 7.003 MB / 0.631 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02929/0.5909, allocations: 23.68 MB / 0.6542 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5909, allocations: 4 kB / 0.6542 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5909, allocations: 0 / 0.6542 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006826/0.5916, allocations: 0 / 0.6542 GB, free: 3.121 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.04617/0.6378, allocations: 14.82 MB / 0.6686 GB, free: 4.18 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.6379, allocations: 12.03 kB / 0.6687 GB, free: 4.168 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05964/0.6975, allocations: 11.17 MB / 0.6796 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/0.7138, allocations: 7.371 MB / 0.6868 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008603/0.7147, allocations: 0.8871 MB / 0.6876 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004083/0.7188, allocations: 1.172 MB / 0.6888 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04709/0.7659, allocations: 18.61 MB / 0.7069 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003886/0.7663, allocations: 19.89 kB / 0.707 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003327/0.7697, allocations: 0.4921 MB / 0.7074 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007047/0.7704, allocations: 0.6499 MB / 0.7081 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5925/1.363, allocations: 19.14 MB / 0.7268 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09159/1.455, allocations: 60.36 MB / 0.7857 GB, free: 99.59 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01493/1.47, allocations: 16.62 MB / 0.8019 GB, free: 82.15 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004803/1.474, allocations: 4.544 MB / 0.8064 GB, free: 77.58 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/1.475, allocations: 396.9 kB / 0.8068 GB, free: 77.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.9e-05/1.475, allocations: 107.6 kB / 0.8069 GB, free: 77.09 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.253e-06/1.475, allocations: 0 / 0.8069 GB, free: 77.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01479/1.49, allocations: 12.45 MB / 0.819 GB, free: 64.43 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/1.49, allocations: 120.5 kB / 0.8191 GB, free: 64.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009847/1.5, allocations: 8.614 MB / 0.8275 GB, free: 55.74 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.501, allocations: 137.6 kB / 0.8277 GB, free: 55.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/1.503, allocations: 4.606 MB / 0.8322 GB, free: 51.49 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.505, allocations: 2.292 MB / 0.8344 GB, free: 49.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/1.507, allocations: 1.47 MB / 0.8359 GB, free: 47.72 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.001e-05/1.507, allocations: 305.1 kB / 0.8361 GB, free: 47.42 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/1.511, allocations: 4.113 MB / 0.8402 GB, free: 43.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005849/1.517, allocations: 6.921 MB / 0.8469 GB, free: 35.11 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/1.529, allocations: 11.98 MB / 0.8586 GB, free: 21.78 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.297e-05/1.529, allocations: 28 kB / 0.8586 GB, free: 21.75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01636/1.545, allocations: 12.1 MB / 0.8705 GB, free: 9.543 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/1.545, allocations: 46.34 kB / 0.8705 GB, free: 9.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/1.546, allocations: 92 kB / 0.8706 GB, free: 9.41 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008348/1.546, allocations: 412.9 kB / 0.871 GB, free: 8.988 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006575/1.553, allocations: 2.012 MB / 0.873 GB, free: 6.973 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006006/1.559, allocations: 9.606 MB / 0.8823 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007677/1.567, allocations: 1.377 MB / 0.8837 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001901/1.569, allocations: 391.9 kB / 0.8841 GB, free: 10.75 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.008963/1.578, allocations: 4.578 MB / 0.8885 GB, free: 6.16 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/1.579, allocations: 0.7374 MB / 0.8892 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/1.598, allocations: 10.61 MB / 0.8996 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/1.598, allocations: 71.94 kB / 0.8997 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/1.598, allocations: 7.938 kB / 0.8997 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.803e-05/1.598, allocations: 31.88 kB / 0.8997 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4992/2.097, allocations: 161.5 MB / 1.057 GB, free: 162 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003262/2.098, allocations: 84 kB / 1.057 GB, free: 161.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005867/2.104, allocations: 1.552 MB / 1.059 GB, free: 160.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009651/2.105, allocations: 388.4 kB / 1.059 GB, free: 160 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001304/2.106, allocations: 255.9 kB / 1.06 GB, free: 159.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005385/2.111, allocations: 9.461 MB / 1.069 GB, free: 149.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.971e-05/2.111, allocations: 135.4 kB / 1.069 GB, free: 149.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02312/2.135, allocations: 18.64 MB / 1.087 GB, free: 129.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004807/2.139, allocations: 2.065 MB / 1.089 GB, free: 127.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/2.141, allocations: 241.9 kB / 1.089 GB, free: 127.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006081/2.147, allocations: 0.5463 MB / 1.09 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001111/2.148, allocations: 0.7457 MB / 1.091 GB, free: 125.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005111/2.149, allocations: 319.9 kB / 1.091 GB, free: 125.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.009906/2.159, allocations: 6.047 MB / 1.097 GB, free: 119.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/2.159, allocations: 0 / 1.097 GB, free: 119.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01011/2.169, allocations: 2.648 MB / 1.099 GB, free: 117 MB / 0.6544 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.001585/2.171, allocations: 0.4971 MB / 1.1 GB, free: 116.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01311/2.184, allocations: 10.63 MB / 1.11 GB, free: 105.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.159e-05/2.184, allocations: 12.94 kB / 1.11 GB, free: 105.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007074/2.191, allocations: 5.473 MB / 1.116 GB, free: 100.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009854/2.201, allocations: 1.492 MB / 1.117 GB, free: 98.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.035/2.236, allocations: 24.84 MB / 1.141 GB, free: 72.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009609/2.245, allocations: 7.773 MB / 1.149 GB, free: 64.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.01049/2.256, allocations: 3.566 MB / 1.152 GB, free: 61.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002302/2.258, allocations: 0.6321 MB / 1.153 GB, free: 60.76 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/2.258, allocations: 4 kB / 1.153 GB, free: 60.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.4276/2.686, allocations: 95.06 MB / 1.246 GB, free: 214.7 MB / 0.6701 GB 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] Reference file matches