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.001378/0.001378, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001475/0.001475, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.567/1.567, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2578/0.2578, allocations: 46.96 MB / 361.6 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: 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_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_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 75.83 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3993, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02272/0.422, allocations: 16.97 MB / 0.5784 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.4353, allocations: 4.849 MB / 0.5831 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005231/0.4405, allocations: 194.9 kB / 0.5833 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0183/0.4588, allocations: 7.244 MB / 0.5904 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00999/0.4688, allocations: 2.114 MB / 0.5924 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.4737, allocations: 1.378 MB / 0.5938 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01709/0.4908, allocations: 12.23 MB / 0.6057 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03455/0.5254, allocations: 16.88 MB / 0.6222 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.5374, allocations: 6.659 MB / 0.6287 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.551, allocations: 7.284 MB / 0.6358 GB, free: 7.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005591/0.5566, allocations: 1.719 MB / 0.6375 GB, free: 6.262 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007792/0.5644, allocations: 1.922 MB / 0.6394 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007643/0.572, allocations: 3.659 MB / 0.643 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01512/0.5871, allocations: 5.49 MB / 0.6483 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03611/0.6232, allocations: 23.79 MB / 0.6716 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.6232, allocations: 0 / 0.6716 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.626e-06/0.6232, allocations: 4 kB / 0.6716 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009937/0.6242, allocations: 4 kB / 0.6716 GB, free: 3.293 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.05394/0.6782, allocations: 14.74 MB / 0.686 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6782, allocations: 8.031 kB / 0.686 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06067/0.7389, allocations: 11.17 MB / 0.6969 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/0.7585, allocations: 7.502 MB / 0.7042 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/0.7597, allocations: 0.8871 MB / 0.7051 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006193/0.7659, allocations: 1.172 MB / 0.7062 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05952/0.8254, allocations: 19.14 MB / 0.7249 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005301/0.8259, allocations: 31.81 kB / 0.7249 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00382/0.8297, allocations: 500 kB / 0.7254 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000794/0.8305, allocations: 0.6539 MB / 0.726 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6358/1.466, allocations: 19.04 MB / 0.7446 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09754/1.564, allocations: 51.77 MB / 0.7952 GB, free: 94.76 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01869/1.583, allocations: 10.63 MB / 0.8056 GB, free: 84.64 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00665/1.589, allocations: 4.22 MB / 0.8097 GB, free: 80.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/1.59, allocations: 184.9 kB / 0.8099 GB, free: 80.21 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/1.59, allocations: 111.6 kB / 0.81 GB, free: 80.09 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.268e-05/1.59, allocations: 4 kB / 0.81 GB, free: 80.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02623/1.616, allocations: 11.74 MB / 0.8215 GB, free: 68.26 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/1.616, allocations: 116.5 kB / 0.8216 GB, free: 68.13 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007411/1.624, allocations: 3.833 MB / 0.8253 GB, free: 64.38 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001345/1.625, allocations: 133.6 kB / 0.8254 GB, free: 64.25 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003197/1.628, allocations: 4.694 MB / 0.83 GB, free: 60.11 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002777/1.631, allocations: 2.297 MB / 0.8323 GB, free: 57.84 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005142/1.636, allocations: 1.474 MB / 0.8337 GB, free: 56.36 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.11e-05/1.636, allocations: 301.1 kB / 0.834 GB, free: 56.07 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006339/1.643, allocations: 4.113 MB / 0.838 GB, free: 51.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008566/1.651, allocations: 6.921 MB / 0.8448 GB, free: 43.76 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/1.666, allocations: 11.97 MB / 0.8565 GB, free: 30.43 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001663/1.667, allocations: 31.94 kB / 0.8565 GB, free: 30.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02375/1.69, allocations: 11.84 MB / 0.868 GB, free: 18.45 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/1.69, allocations: 44 kB / 0.8681 GB, free: 18.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/1.691, allocations: 92.06 kB / 0.8682 GB, free: 18.32 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.692, allocations: 404.9 kB / 0.8686 GB, free: 17.91 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007687/1.699, allocations: 2.028 MB / 0.8705 GB, free: 15.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/1.705, allocations: 8.805 MB / 0.8791 GB, free: 6.457 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006404/1.711, allocations: 1.022 MB / 0.8801 GB, free: 5.43 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/1.713, allocations: 387.9 kB / 0.8805 GB, free: 5.051 MB / 0.5607 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.008933/1.722, allocations: 4.585 MB / 0.885 GB, free: 464 kB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/1.724, allocations: 488.8 kB / 0.8855 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02481/1.749, allocations: 10.32 MB / 0.8955 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-05/1.749, allocations: 71.94 kB / 0.8956 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.786e-05/1.749, allocations: 4 kB / 0.8956 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001913/1.749, allocations: 35.86 kB / 0.8956 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5299/2.279, allocations: 150.1 MB / 1.042 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002662/2.279, allocations: 84 kB / 1.042 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006061/2.285, allocations: 1.561 MB / 1.044 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/2.286, allocations: 384 kB / 1.044 GB, free: 203.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001448/2.288, allocations: 262.4 kB / 1.044 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005762/2.294, allocations: 8.682 MB / 1.053 GB, free: 193.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.817e-05/2.294, allocations: 139.4 kB / 1.053 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02696/2.321, allocations: 18.36 MB / 1.071 GB, free: 173.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005316/2.326, allocations: 1.557 MB / 1.073 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/2.328, allocations: 247.9 kB / 1.073 GB, free: 172.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005202/2.333, allocations: 0.5463 MB / 1.073 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/2.334, allocations: 0.7611 MB / 1.074 GB, free: 170.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001154/2.336, allocations: 319.9 kB / 1.074 GB, free: 170.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004153/2.34, allocations: 2.542 MB / 1.077 GB, free: 167.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/2.34, allocations: 0 / 1.077 GB, free: 167.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0106/2.35, allocations: 2.954 MB / 1.08 GB, free: 165.4 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.002147/2.353, allocations: 499.7 kB / 1.08 GB, free: 164.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01495/2.367, allocations: 10.33 MB / 1.09 GB, free: 154.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001553/2.368, allocations: 12 kB / 1.09 GB, free: 154.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008258/2.376, allocations: 5.291 MB / 1.095 GB, free: 149.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01343/2.389, allocations: 1.261 MB / 1.097 GB, free: 147.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0453/2.435, allocations: 24.23 MB / 1.12 GB, free: 122.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/2.448, allocations: 7.401 MB / 1.128 GB, free: 115 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009004/2.457, allocations: 3.199 MB / 1.131 GB, free: 111.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003383/2.46, allocations: 0.5266 MB / 1.131 GB, free: 111.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.303e-06/2.46, allocations: 0 / 1.131 GB, free: 111.3 MB / 0.67 GB Notification: Performance of Templates: time 0.127/2.587, allocations: 88.13 MB / 1.217 GB, free: 23.98 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.686859405002906]