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.001028/0.001028, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001038/0.001038, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9565/0.9565, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1462/0.1462, allocations: 34.27 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] 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.[0-9,]+..re|v.[0-9,]+..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.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.183e-05, allocations: 2.312 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02083/0.02085, allocations: 18.39 MB / 397.7 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009982/0.03083, allocations: 4.943 MB / 402.6 MB, free: 0 / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.0349, allocations: 195.1 kB / 402.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01201/0.04691, allocations: 8.069 MB / 410.9 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.0574, allocations: 2.155 MB / 413 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.06133, allocations: 1.378 MB / 414.4 MB, free: 4.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.07296, allocations: 12.63 MB / 427 MB, free: 7.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02683/0.09979, allocations: 16.78 MB / 443.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/0.1131, allocations: 9.825 MB / 453.6 MB, free: 12.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01158/0.1247, allocations: 7.275 MB / 460.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004084/0.1288, allocations: 1.723 MB / 462.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005347/0.1341, allocations: 1.921 MB / 464.6 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003933/0.138, allocations: 3.795 MB / 468.4 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007875/0.1459, allocations: 4.772 MB / 473.1 MB, free: 9.133 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.1596, allocations: 11.99 MB / 485.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1596, allocations: 0 / 485.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1596, allocations: 0 / 485.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004539/0.1601, allocations: 0 / 485.1 MB, free: 13.11 MB / 410.7 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.2962/0.4562, allocations: 15.25 MB / 0.4886 GB, free: 79.11 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/0.4563, allocations: 6.844 kB / 0.4886 GB, free: 79.11 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03155/0.4879, allocations: 9.285 MB / 0.4977 GB, free: 78.38 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.4989, allocations: 6.253 MB / 0.5038 GB, free: 77.57 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007166/0.4996, allocations: 0.8905 MB / 0.5047 GB, free: 77.17 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004148/0.5038, allocations: 1.184 MB / 0.5058 GB, free: 76.78 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/0.5256, allocations: 7.453 MB / 0.5131 GB, free: 72.37 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003157/0.5259, allocations: 14.33 kB / 0.5131 GB, free: 72.36 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.5275, allocations: 496.8 kB / 0.5136 GB, free: 71.88 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003627/0.5278, allocations: 0.6577 MB / 0.5143 GB, free: 71.22 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.5413, allocations: 4.85 MB / 0.519 GB, free: 66.34 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06487/0.6062, allocations: 44.89 MB / 0.5628 GB, free: 23.38 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007281/0.6135, allocations: 6.303 MB / 0.569 GB, free: 17.68 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.6152, allocations: 1.345 MB / 0.5703 GB, free: 16.35 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.6155, allocations: 225.1 kB / 0.5705 GB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.6155, allocations: 114.5 kB / 0.5706 GB, free: 16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 7.574e-06/0.6155, allocations: 0 / 0.5706 GB, free: 16 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.005995/0.6215, allocations: 4.065 MB / 0.5746 GB, free: 11.86 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.6216, allocations: 120.2 kB / 0.5747 GB, free: 11.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.6252, allocations: 3.483 MB / 0.5781 GB, free: 8.785 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.6256, allocations: 133.7 kB / 0.5782 GB, free: 8.648 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002003/0.6276, allocations: 5.006 MB / 0.5831 GB, free: 3.918 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00148/0.6291, allocations: 2.397 MB / 0.5855 GB, free: 1.648 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.6305, allocations: 1.679 MB / 0.5871 GB, free: 112 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6307, allocations: 487.8 kB / 0.5876 GB, free: 15.63 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.6321, allocations: 0.8111 MB / 0.5884 GB, free: 14.82 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00362/0.6357, allocations: 5.072 MB / 0.5933 GB, free: 8.23 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007378/0.6431, allocations: 6.711 MB / 0.5999 GB, free: 256 kB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/0.6432, allocations: 28 kB / 0.5999 GB, free: 228 kB / 426.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.008847/0.6521, allocations: 5.482 MB / 0.6053 GB, free: 11.21 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.6521, allocations: 44 kB / 0.6053 GB, free: 11.17 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.454e-05/0.6522, allocations: 92 kB / 0.6054 GB, free: 11.08 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008023/0.653, allocations: 390.2 kB / 0.6058 GB, free: 10.68 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/0.6568, allocations: 1.768 MB / 0.6075 GB, free: 9.039 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.6618, allocations: 10.62 MB / 0.6179 GB, free: 13.86 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/0.6661, allocations: 0.7408 MB / 0.6186 GB, free: 13.11 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008561/0.6669, allocations: 323.9 kB / 0.6189 GB, free: 12.79 MB / 458.8 MB 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.003357/0.6703, allocations: 0.6819 MB / 0.6196 GB, free: 12.23 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/0.6716, allocations: 0.6767 MB / 0.6202 GB, free: 11.55 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006902/0.6785, allocations: 5.501 MB / 0.6256 GB, free: 6.277 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.6785, allocations: 67.94 kB / 0.6257 GB, free: 6.211 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6785, allocations: 4 kB / 0.6257 GB, free: 6.207 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/0.6786, allocations: 34.5 kB / 0.6257 GB, free: 6.176 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0518/0.7304, allocations: 23.46 MB / 0.6486 GB, free: 15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.244e-05/0.7305, allocations: 84 kB / 0.6487 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003087/0.7335, allocations: 1.321 MB / 0.65 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007472/0.7343, allocations: 377.6 kB / 0.6503 GB, free: 13.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004618/0.7348, allocations: 255.9 kB / 0.6506 GB, free: 13.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.7403, allocations: 10.6 MB / 0.6609 GB, free: 1.895 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.557e-05/0.7403, allocations: 130.1 kB / 0.661 GB, free: 1.801 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2044/0.9447, allocations: 9.966 MB / 0.6708 GB, free: 110.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/0.9469, allocations: 1.236 MB / 0.672 GB, free: 110.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005581/0.9474, allocations: 245 kB / 0.6722 GB, free: 110.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/0.9497, allocations: 274.6 kB / 0.6725 GB, free: 110.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007357/0.9504, allocations: 0.7618 MB / 0.6732 GB, free: 110.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003775/0.9508, allocations: 277.9 kB / 0.6735 GB, free: 110.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001638/0.9524, allocations: 1.478 MB / 0.6749 GB, free: 110.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9524, allocations: 0.8438 kB / 0.6749 GB, free: 110.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00676/0.9592, allocations: 2.951 MB / 0.6778 GB, free: 110.4 MB / 490.8 MB 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.0009525/0.9601, allocations: 498.4 kB / 0.6783 GB, free: 110.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007557/0.9677, allocations: 5.194 MB / 0.6834 GB, free: 109.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-05/0.9678, allocations: 17.59 kB / 0.6834 GB, free: 109.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003678/0.9714, allocations: 3.124 MB / 0.6864 GB, free: 108 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/0.9771, allocations: 1.308 MB / 0.6877 GB, free: 108 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02849/1.006, allocations: 20.79 MB / 0.708 GB, free: 97.47 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004803/1.01, allocations: 3.407 MB / 0.7113 GB, free: 97.15 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003699/1.014, allocations: 0.9164 MB / 0.7122 GB, free: 96.89 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002587/1.017, allocations: 1.382 MB / 0.7136 GB, free: 95.95 MB / 490.8 MB Notification: Performance of SimCode: time 2.585e-06/1.017, allocations: 0 / 0.7136 GB, free: 95.95 MB / 490.8 MB Notification: Performance of Templates: time 0.1148/1.131, allocations: 85.33 MB / 0.7969 GB, free: 17.69 MB / 490.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.452043268829584]