Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001902/0.003162, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002856, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9234/0.9234, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07836/1.002, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 34.87 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02087/0.2581, allocations: 13.24 MB / 292.8 MB, free: 6.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.583e-05, allocations: 2.859 kB / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01401/0.01403, allocations: 18.57 MB / 312.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008652/0.02268, allocations: 5.272 MB / 317.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.02467, allocations: 195 kB / 318.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00711/0.03179, allocations: 8.267 MB / 326.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.03536, allocations: 2.136 MB / 328.5 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.03716, allocations: 1.383 MB / 329.9 MB, free: 1.082 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008949/0.04611, allocations: 12.73 MB / 342.7 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01475/0.06087, allocations: 16.76 MB / 359.4 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008893/0.06976, allocations: 10.14 MB / 369.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006803/0.07656, allocations: 7.31 MB / 376.9 MB, free: 1.797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002384/0.07895, allocations: 1.723 MB / 378.6 MB, free: 76 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.08163, allocations: 1.933 MB / 380.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001851/0.08348, allocations: 2.966 MB / 383.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003709/0.08719, allocations: 3.927 MB / 387.4 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009062/0.09625, allocations: 11.33 MB / 398.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.09626, allocations: 4 kB / 398.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09626, allocations: 0 / 398.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000247/0.09651, allocations: 0 / 398.7 MB, free: 11.87 MB / 394.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.01922/0.1157, allocations: 16.51 MB / 415.3 MB, free: 11.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1158, allocations: 8.031 kB / 415.3 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02967/0.1454, allocations: 10.03 MB / 425.3 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007139/0.1526, allocations: 3.657 MB / 428.9 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000691/0.1533, allocations: 0.8949 MB / 429.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.1547, allocations: 1.172 MB / 431 MB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.1664, allocations: 8.979 MB / 440 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.1665, allocations: 23.88 kB / 440 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008194/0.1674, allocations: 496 kB / 440.5 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004062/0.1678, allocations: 0.6265 MB / 441.1 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.146/0.3138, allocations: 4.153 MB / 445.3 MB, free: 87.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03405/0.3478, allocations: 34.22 MB / 479.5 MB, free: 76.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.3527, allocations: 5.449 MB / 485 MB, free: 74.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.3538, allocations: 1.15 MB / 486.1 MB, free: 73.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.3541, allocations: 222.4 kB / 486.3 MB, free: 72.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.3541, allocations: 103.7 kB / 486.4 MB, free: 72.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=653): time 8.026e-06/0.3541, allocations: 0 / 486.4 MB, free: 72.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=653): time 0.003745/0.3579, allocations: 3.005 MB / 489.4 MB, free: 70.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3579, allocations: 120.3 kB / 489.5 MB, free: 70.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.3594, allocations: 2.34 MB / 491.9 MB, free: 68.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002443/0.3596, allocations: 133.7 kB / 492 MB, free: 68.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009388/0.3605, allocations: 4.305 MB / 496.3 MB, free: 64.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007715/0.3613, allocations: 2.274 MB / 498.6 MB, free: 62.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.3624, allocations: 1.301 MB / 499.9 MB, free: 61.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.539e-05/0.3624, allocations: 313 kB / 0.4885 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008882/0.3633, allocations: 0.6942 MB / 0.4892 GB, free: 60.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.3648, allocations: 3.524 MB / 0.4926 GB, free: 55.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/0.3683, allocations: 5.403 MB / 0.4979 GB, free: 49.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-05/0.3683, allocations: 28 kB / 0.4979 GB, free: 49.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.004145/0.3725, allocations: 4.271 MB / 0.5021 GB, free: 45.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.3725, allocations: 47.98 kB / 0.5021 GB, free: 45.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.317e-05/0.3726, allocations: 92.16 kB / 0.5022 GB, free: 45.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005677/0.3731, allocations: 367.5 kB / 0.5026 GB, free: 45.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/0.3766, allocations: 2.026 MB / 0.5045 GB, free: 43.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.3785, allocations: 7.273 MB / 0.5116 GB, free: 35.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.3805, allocations: 0.741 MB / 0.5124 GB, free: 35.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.3808, allocations: 299.9 kB / 0.5126 GB, free: 34.87 MB / 426.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.001648/0.3825, allocations: 0.6474 MB / 0.5133 GB, free: 34.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005178/0.383, allocations: 491.6 kB / 0.5137 GB, free: 33.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.3869, allocations: 4.233 MB / 0.5179 GB, free: 29.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.3869, allocations: 68 kB / 0.5179 GB, free: 29.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3869, allocations: 4 kB / 0.5179 GB, free: 29.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.3869, allocations: 51.45 kB / 0.518 GB, free: 29.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03201/0.4189, allocations: 19.98 MB / 0.5375 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-05/0.419, allocations: 88 kB / 0.5376 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/0.4217, allocations: 1.521 MB / 0.5391 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.4232, allocations: 0.8905 MB / 0.54 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.4237, allocations: 355.8 kB / 0.5403 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/0.424, allocations: 235.9 kB / 0.5405 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.4259, allocations: 7.244 MB / 0.5476 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-05/0.426, allocations: 141.9 kB / 0.5477 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007501/0.4335, allocations: 8.798 MB / 0.5563 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/0.434, allocations: 243.9 kB / 0.5565 GB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.4358, allocations: 272 kB / 0.5568 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006342/0.4364, allocations: 0.7511 MB / 0.5575 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002914/0.4367, allocations: 251.9 kB / 0.5578 GB, free: 3.082 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00096/0.4377, allocations: 1.087 MB / 0.5588 GB, free: 2.129 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4377, allocations: 0 / 0.5588 GB, free: 2.129 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005166/0.4428, allocations: 2.944 MB / 0.5617 GB, free: 15.17 MB / 458.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.0007958/0.4436, allocations: 488 kB / 0.5622 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004489/0.4481, allocations: 4.462 MB / 0.5665 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000183/0.4483, allocations: 138.5 kB / 0.5667 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009453/0.4577, allocations: 4.675 MB / 0.5712 GB, free: 6.215 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006462/0.4642, allocations: 8.879 MB / 0.5799 GB, free: 11.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0818/0.546, allocations: 20.51 MB / 0.5999 GB, free: 6.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/0.5487, allocations: 2.53 MB / 0.6024 GB, free: 3.875 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002831/0.5515, allocations: 0.8898 MB / 0.6033 GB, free: 2.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/0.554, allocations: 1.171 MB / 0.6044 GB, free: 1.805 MB / 490.7 MB Notification: Performance of SimCode: time 1.743e-06/0.554, allocations: 3.938 kB / 0.6044 GB, free: 1.801 MB / 490.7 MB Notification: Performance of Templates: time 0.2507/0.8047, allocations: 87.73 MB / 0.6901 GB, free: 77.01 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.323314657434821]