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.0009747/0.0009747, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001112/0.001112, allocations: 171.4 kB / 24.91 MB, free: 8.719 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.9688/0.9688, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2892/0.2892, allocations: 34.27 MB / 296.1 MB, free: 0.6602 MB / 266.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.493e-06/1.493e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.462e-05, allocations: 3.953 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01389/0.01391, allocations: 18.46 MB / 343.8 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.02521, allocations: 5.245 MB / 349 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004292/0.0295, allocations: 191 kB / 349.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.04012, allocations: 8.247 MB / 357.4 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008248/0.04837, allocations: 2.124 MB / 359.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004445/0.05281, allocations: 1.392 MB / 360.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01231/0.06512, allocations: 12.64 MB / 373.6 MB, free: 7.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0265/0.09162, allocations: 17.26 MB / 390.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01692/0.1085, allocations: 9.883 MB / 400.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.1202, allocations: 7.342 MB / 408.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004917/0.1251, allocations: 1.719 MB / 409.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006497/0.1316, allocations: 1.929 MB / 411.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005941/0.1376, allocations: 3.802 MB / 415.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01425/0.1518, allocations: 4.768 MB / 420.3 MB, free: 8.113 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02337/0.1752, allocations: 12 MB / 432.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.1752, allocations: 0 / 432.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1752, allocations: 4 kB / 432.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007731/0.176, allocations: 0 / 432.3 MB, free: 12.07 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.3273/0.5033, allocations: 14.09 MB / 446.4 MB, free: 80.42 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5033, allocations: 10.38 kB / 446.4 MB, free: 80.42 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03103/0.5343, allocations: 10.04 MB / 456.4 MB, free: 80.34 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009961/0.5443, allocations: 3.654 MB / 460.1 MB, free: 79.8 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007257/0.545, allocations: 0.8891 MB / 461 MB, free: 79.77 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003728/0.5487, allocations: 1.183 MB / 462.2 MB, free: 79.76 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/0.5721, allocations: 8.985 MB / 471.1 MB, free: 73.48 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003578/0.5724, allocations: 14.25 kB / 471.2 MB, free: 73.47 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002312/0.5747, allocations: 498.6 kB / 471.6 MB, free: 73 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005021/0.5752, allocations: 0.6577 MB / 472.3 MB, free: 72.34 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.5901, allocations: 4.149 MB / 476.5 MB, free: 68.16 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06993/0.6601, allocations: 34.03 MB / 0.4985 GB, free: 35.87 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/0.6675, allocations: 5.373 MB / 0.5038 GB, free: 30.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.6695, allocations: 1.146 MB / 0.5049 GB, free: 29.44 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.6698, allocations: 232 kB / 0.5051 GB, free: 29.21 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.85e-05/0.6699, allocations: 107.7 kB / 0.5052 GB, free: 29.1 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 1.043e-05/0.6699, allocations: 0 / 0.5052 GB, free: 29.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.005595/0.6755, allocations: 2.998 MB / 0.5081 GB, free: 26.04 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.6755, allocations: 120.5 kB / 0.5083 GB, free: 25.91 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.6781, allocations: 2.34 MB / 0.5105 GB, free: 24.12 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.6784, allocations: 133.7 kB / 0.5107 GB, free: 23.99 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.6798, allocations: 4.308 MB / 0.5149 GB, free: 19.95 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001221/0.681, allocations: 2.271 MB / 0.5171 GB, free: 17.81 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.6823, allocations: 1.306 MB / 0.5184 GB, free: 16.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.115e-05/0.6823, allocations: 305.1 kB / 0.5187 GB, free: 16.35 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.6834, allocations: 0.702 MB / 0.5193 GB, free: 15.64 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.6851, allocations: 3.515 MB / 0.5228 GB, free: 11.09 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00379/0.6889, allocations: 5.213 MB / 0.5279 GB, free: 5.086 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.584e-05/0.6889, allocations: 32 kB / 0.5279 GB, free: 5.055 MB / 410.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.005293/0.6942, allocations: 4.273 MB / 0.5321 GB, free: 1.285 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.6943, allocations: 47.66 kB / 0.5321 GB, free: 1.242 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.779e-05/0.6944, allocations: 88 kB / 0.5322 GB, free: 1.156 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006748/0.695, allocations: 367.5 kB / 0.5325 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/0.6988, allocations: 1.869 MB / 0.5344 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.7025, allocations: 7.269 MB / 0.5415 GB, free: 7.375 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/0.7063, allocations: 0.737 MB / 0.5422 GB, free: 6.633 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007707/0.707, allocations: 307.9 kB / 0.5425 GB, free: 6.332 MB / 426.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.003105/0.7101, allocations: 0.6355 MB / 0.5431 GB, free: 5.812 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009658/0.7111, allocations: 495.6 kB / 0.5436 GB, free: 5.328 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/0.7165, allocations: 4.243 MB / 0.5477 GB, free: 1.336 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/0.7165, allocations: 67.47 kB / 0.5478 GB, free: 1.273 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.7165, allocations: 4 kB / 0.5478 GB, free: 1.27 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/0.7166, allocations: 31.88 kB / 0.5478 GB, free: 1.238 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04131/0.7579, allocations: 20.01 MB / 0.5674 GB, free: 13.64 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.535e-05/0.758, allocations: 84 kB / 0.5674 GB, free: 13.56 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003281/0.7612, allocations: 1.397 MB / 0.5688 GB, free: 12.27 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006988/0.7619, allocations: 352.2 kB / 0.5691 GB, free: 11.91 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005715/0.7625, allocations: 239.9 kB / 0.5694 GB, free: 11.67 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/0.7664, allocations: 7.256 MB / 0.5765 GB, free: 4.012 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.235e-05/0.7664, allocations: 134.5 kB / 0.5766 GB, free: 3.918 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008858/0.7753, allocations: 8.793 MB / 0.5852 GB, free: 8.941 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/0.7774, allocations: 0.889 MB / 0.586 GB, free: 8.078 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006907/0.7781, allocations: 256 kB / 0.5863 GB, free: 7.828 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.78, allocations: 267.9 kB / 0.5865 GB, free: 7.566 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/0.7808, allocations: 0.7475 MB / 0.5873 GB, free: 6.887 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/0.7811, allocations: 255.9 kB / 0.5875 GB, free: 6.637 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00122/0.7823, allocations: 1.083 MB / 0.5886 GB, free: 5.688 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7823, allocations: 4 kB / 0.5886 GB, free: 5.684 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006579/0.7889, allocations: 2.946 MB / 0.5914 GB, free: 2.73 MB / 474.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.0006927/0.7896, allocations: 486.4 kB / 0.5919 GB, free: 2.352 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.005347/0.7949, allocations: 4.345 MB / 0.5962 GB, free: 14.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001277/0.7951, allocations: 75.94 kB / 0.5962 GB, free: 14.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.7976, allocations: 2.57 MB / 0.5987 GB, free: 11.68 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/0.8019, allocations: 1.29 MB / 0.6 GB, free: 10.44 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1905/0.9924, allocations: 19.71 MB / 0.6192 GB, free: 130.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003834/0.9962, allocations: 2.475 MB / 0.6217 GB, free: 130.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.004219/1, allocations: 0.918 MB / 0.6226 GB, free: 130.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/1.003, allocations: 1.228 MB / 0.6238 GB, free: 130.4 MB / 490.8 MB Notification: Performance of SimCode: time 1.924e-06/1.003, allocations: 0 / 0.6238 GB, free: 130.4 MB / 490.8 MB Notification: Performance of Templates: time 0.1002/1.103, allocations: 84.19 MB / 0.706 GB, free: 64.61 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 -s gbode -gbm=radauIIA3 -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.137174375820905]