Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002393/0.002393, allocations: 91.61 kB / 20.95 MB, free: 3.465 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.002711/0.002711, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3559/0.3559, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.29e-05, allocations: 2.312 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02761/0.02764, allocations: 18.94 MB / 394.2 MB, free: 1.949 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.04123, allocations: 4.962 MB / 399.2 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005121/0.04635, allocations: 191 kB / 399.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02156/0.06791, allocations: 8.296 MB / 407.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007928/0.07584, allocations: 2.148 MB / 409.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004744/0.08059, allocations: 1.395 MB / 411.2 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01815/0.09874, allocations: 12.63 MB / 423.8 MB, free: 4.219 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03176/0.1305, allocations: 16.79 MB / 440.6 MB, free: 3.227 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1964/0.3269, allocations: 9.814 MB / 450.4 MB, free: 57.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.339, allocations: 7.186 MB / 457.6 MB, free: 57.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005376/0.3443, allocations: 1.721 MB / 459.3 MB, free: 57.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008026/0.3524, allocations: 1.921 MB / 461.3 MB, free: 57.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00697/0.3593, allocations: 3.794 MB / 465 MB, free: 57.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01026/0.3696, allocations: 4.773 MB / 469.8 MB, free: 57.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03055/0.4001, allocations: 24.05 MB / 493.9 MB, free: 50.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4001, allocations: 0 / 493.9 MB, free: 50.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4001, allocations: 0 / 493.9 MB, free: 50.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001032/0.4012, allocations: 0 / 493.9 MB, free: 50.43 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.05311/0.4543, allocations: 16.79 MB / 0.4987 GB, free: 39.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4543, allocations: 10.22 kB / 0.4987 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06027/0.5146, allocations: 13.37 MB / 0.5118 GB, free: 32.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01949/0.5341, allocations: 6.843 MB / 0.5184 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007675/0.5349, allocations: 0.8918 MB / 0.5193 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005607/0.5405, allocations: 1.183 MB / 0.5205 GB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04649/0.587, allocations: 17.23 MB / 0.5373 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004853/0.5875, allocations: 23.89 kB / 0.5373 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004841/0.5923, allocations: 493.1 kB / 0.5378 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005267/0.5928, allocations: 0.6614 MB / 0.5384 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04623/0.639, allocations: 17.01 MB / 0.555 GB, free: 4.504 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4012/1.04, allocations: 72.74 MB / 0.6261 GB, free: 102.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/1.058, allocations: 9.818 MB / 0.6357 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005672/1.063, allocations: 3.676 MB / 0.6392 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005072/1.064, allocations: 220.6 kB / 0.6395 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.441e-05/1.064, allocations: 107.4 kB / 0.6396 GB, free: 102.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=653): time 9.678e-06/1.064, allocations: 0 / 0.6396 GB, free: 102.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=653): time 0.01939/1.083, allocations: 10.17 MB / 0.6495 GB, free: 101.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/1.083, allocations: 118.6 kB / 0.6496 GB, free: 101.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008747/1.092, allocations: 5.338 MB / 0.6548 GB, free: 99.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.093, allocations: 132.8 kB / 0.6549 GB, free: 99.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003283/1.097, allocations: 5.199 MB / 0.66 GB, free: 95.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003253/1.1, allocations: 2.471 MB / 0.6624 GB, free: 93.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003085/1.103, allocations: 1.845 MB / 0.6642 GB, free: 92.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/1.103, allocations: 488.2 kB / 0.6647 GB, free: 92.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005205/1.108, allocations: 3.433 MB / 0.6681 GB, free: 91.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007774/1.116, allocations: 7.862 MB / 0.6757 GB, free: 84.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01398/1.13, allocations: 12.22 MB / 0.6877 GB, free: 75.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/1.13, allocations: 27.34 kB / 0.6877 GB, free: 75.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01945/1.15, allocations: 10.91 MB / 0.6983 GB, free: 69.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.529e-05/1.15, allocations: 45.34 kB / 0.6984 GB, free: 69.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/1.15, allocations: 90.5 kB / 0.6985 GB, free: 69.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/1.151, allocations: 0.5273 MB / 0.699 GB, free: 69.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007215/1.159, allocations: 2.011 MB / 0.701 GB, free: 68.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/1.165, allocations: 11.9 MB / 0.7126 GB, free: 57.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007843/1.172, allocations: 1.023 MB / 0.7136 GB, free: 56.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001847/1.174, allocations: 394.8 kB / 0.714 GB, free: 56.56 MB / 474.7 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.009952/1.184, allocations: 4.196 MB / 0.7181 GB, free: 53.74 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/1.186, allocations: 0.6731 MB / 0.7187 GB, free: 53.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/1.2, allocations: 9.645 MB / 0.7281 GB, free: 43.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/1.2, allocations: 68.55 kB / 0.7282 GB, free: 43.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.2, allocations: 3.938 kB / 0.7282 GB, free: 43.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-05/1.2, allocations: 31.88 kB / 0.7282 GB, free: 43.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3973/1.598, allocations: 135.8 MB / 0.8609 GB, free: 94.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000196/1.598, allocations: 90.31 kB / 0.861 GB, free: 94.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00567/1.604, allocations: 1.551 MB / 0.8625 GB, free: 93.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/1.605, allocations: 0.4984 MB / 0.863 GB, free: 93.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001136/1.606, allocations: 262.2 kB / 0.8632 GB, free: 93.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/1.612, allocations: 11.77 MB / 0.8747 GB, free: 82.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-05/1.612, allocations: 140.1 kB / 0.8748 GB, free: 82.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/1.631, allocations: 17.35 MB / 0.8918 GB, free: 62.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00431/1.635, allocations: 1.376 MB / 0.8931 GB, free: 61.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.637, allocations: 243.9 kB / 0.8934 GB, free: 61.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004438/1.641, allocations: 0.5422 MB / 0.8939 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009396/1.642, allocations: 0.7611 MB / 0.8946 GB, free: 60.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000471/1.642, allocations: 327.9 kB / 0.8949 GB, free: 59.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003676/1.646, allocations: 2.807 MB / 0.8977 GB, free: 56.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/1.646, allocations: 0 / 0.8977 GB, free: 56.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00981/1.656, allocations: 2.948 MB / 0.9006 GB, free: 54 MB / 490.7 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.001259/1.657, allocations: 497.9 kB / 0.901 GB, free: 53.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01885/1.676, allocations: 10.16 MB / 0.911 GB, free: 43.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001756/1.676, allocations: 16 kB / 0.911 GB, free: 43.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01027/1.686, allocations: 5.308 MB / 0.9162 GB, free: 37.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01459/1.701, allocations: 1.305 MB / 0.9174 GB, free: 36.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05233/1.753, allocations: 23.64 MB / 0.9405 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0132/1.767, allocations: 6.628 MB / 0.947 GB, free: 4.523 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008141/1.775, allocations: 2.643 MB / 0.9496 GB, free: 1.875 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/1.777, allocations: 0.5238 MB / 0.9501 GB, free: 1.359 MB / 490.7 MB Notification: Performance of SimCode: time 2.254e-06/1.777, allocations: 0 / 0.9501 GB, free: 1.359 MB / 490.7 MB Notification: Performance of Templates: time 0.3599/2.137, allocations: 76.42 MB / 1.025 GB, free: 127.1 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.220296417013742]