Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.0008359/0.0008359, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.00188, allocations: 449.7 kB / 10.37 MB, free: 324 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.0011/0.0011, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.002105, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9475/0.9475, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07816/1.026, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.2524/0.2524, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02293/0.2753, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.895e-05, allocations: 2.312 kB / 293.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02044/0.02046, allocations: 21.34 MB / 315.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.03053, allocations: 5.902 MB / 321.1 MB, free: 9.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.03283, allocations: 230.8 kB / 321.3 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009222/0.04206, allocations: 10.1 MB / 331.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.04626, allocations: 2.232 MB / 333.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.0503, allocations: 1.873 MB / 335.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.06322, allocations: 15.13 MB / 350.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02549/0.08871, allocations: 21.28 MB / 371.9 MB, free: 6.582 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01492/0.1036, allocations: 12.38 MB / 384.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01195/0.1156, allocations: 8.863 MB / 393.2 MB, free: 1.293 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006133/0.1217, allocations: 2.098 MB / 395.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0081/0.1298, allocations: 2.363 MB / 397.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006096/0.1359, allocations: 3.488 MB / 401.1 MB, free: 9.336 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01328/0.1492, allocations: 4.734 MB / 405.9 MB, free: 4.594 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02271/0.1719, allocations: 13.72 MB / 419.6 MB, free: 6.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.1719, allocations: 0 / 419.6 MB, free: 6.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1719, allocations: 0 / 419.6 MB, free: 6.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006218/0.1725, allocations: 0 / 419.6 MB, free: 6.84 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04504/0.2176, allocations: 21.27 MB / 440.8 MB, free: 1.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2176, allocations: 8.922 kB / 440.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2213/0.4389, allocations: 10.32 MB / 451.2 MB, free: 85.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009009/0.448, allocations: 4.354 MB / 455.5 MB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006121/0.4486, allocations: 1.055 MB / 456.6 MB, free: 85.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002874/0.4514, allocations: 1.377 MB / 458 MB, free: 85.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/0.4771, allocations: 11.94 MB / 469.9 MB, free: 83.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005984/0.4777, allocations: 18.52 kB / 469.9 MB, free: 83.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003333/0.4811, allocations: 0.5695 MB / 470.5 MB, free: 83.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007068/0.4818, allocations: 0.7024 MB / 471.2 MB, free: 83.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.4979, allocations: 5.955 MB / 477.1 MB, free: 79.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06673/0.5647, allocations: 41.84 MB / 0.5068 GB, free: 38.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006283/0.5709, allocations: 5.623 MB / 0.5123 GB, free: 33.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.5727, allocations: 1.277 MB / 0.5136 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.5849, allocations: 6.384 MB / 0.5198 GB, free: 25.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.585, allocations: 89.66 kB / 0.5199 GB, free: 25.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=465): time 7.674e-06/0.585, allocations: 4 kB / 0.5199 GB, free: 25.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=465): time 0.01675/0.6017, allocations: 6.597 MB / 0.5263 GB, free: 19.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.6018, allocations: 120.7 kB / 0.5264 GB, free: 18.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.6051, allocations: 3.217 MB / 0.5296 GB, free: 16.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002911/0.6054, allocations: 101.7 kB / 0.5297 GB, free: 16.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.6071, allocations: 5.626 MB / 0.5352 GB, free: 10.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009109/0.608, allocations: 1.644 MB / 0.5368 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/0.6096, allocations: 1.393 MB / 0.5381 GB, free: 8.027 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.575e-05/0.6096, allocations: 305.1 kB / 0.5384 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.6113, allocations: 1.122 MB / 0.5395 GB, free: 6.602 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.6135, allocations: 3.908 MB / 0.5433 GB, free: 1.492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005611/0.6191, allocations: 5.712 MB / 0.5489 GB, free: 10.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.089e-05/0.6192, allocations: 34.14 kB / 0.549 GB, free: 10.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.008367/0.6275, allocations: 5.034 MB / 0.5539 GB, free: 6.551 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.6276, allocations: 48 kB / 0.5539 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.6277, allocations: 104 kB / 0.554 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/0.631, allocations: 1.474 MB / 0.5555 GB, free: 4.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/0.6353, allocations: 1.625 MB / 0.557 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004703/0.6358, allocations: 316 kB / 0.5573 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/0.6397, allocations: 0.8298 MB / 0.5582 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006148/0.6403, allocations: 312 kB / 0.5585 GB, free: 2.027 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.002665/0.643, allocations: 0.6221 MB / 0.5591 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007341/0.6437, allocations: 435.5 kB / 0.5595 GB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.6479, allocations: 3.237 MB / 0.5626 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.6479, allocations: 48 kB / 0.5627 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6479, allocations: 3.938 kB / 0.5627 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.648, allocations: 23.91 kB / 0.5627 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.6595, allocations: 6.639 MB / 0.5692 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.6595, allocations: 0 / 0.5692 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.6611, allocations: 0.6856 MB / 0.5699 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.6626, allocations: 0.7094 MB / 0.5706 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/0.6649, allocations: 1.348 MB / 0.5719 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.6652, allocations: 98.25 kB / 0.572 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003045/0.6655, allocations: 148.4 kB / 0.5721 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6655, allocations: 3.656 kB / 0.5721 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005433/0.6709, allocations: 3.84 MB / 0.5759 GB, free: 1.277 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008291/0.6717, allocations: 86.27 kB / 0.5759 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.673, allocations: 147.9 kB / 0.5761 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003858/0.6734, allocations: 299.2 kB / 0.5764 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/0.6736, allocations: 87.97 kB / 0.5765 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001522/0.6751, allocations: 1.447 MB / 0.5779 GB, free: 15.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6751, allocations: 4 kB / 0.5779 GB, free: 15.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0058/0.6809, allocations: 3.246 MB / 0.581 GB, free: 12.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005228/0.6815, allocations: 238 kB / 0.5813 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005862/0.6873, allocations: 3.901 MB / 0.5851 GB, free: 8.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002293/0.6875, allocations: 129.5 kB / 0.5852 GB, free: 8.273 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002475/0.69, allocations: 1.785 MB / 0.5869 GB, free: 6.574 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.6938, allocations: 1.75 MB / 0.5887 GB, free: 4.895 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2291/0.9229, allocations: 21.39 MB / 0.6095 GB, free: 133.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004808/0.9277, allocations: 2.821 MB / 0.6123 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002335/0.9301, allocations: 0.7659 MB / 0.613 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/0.9318, allocations: 1.119 MB / 0.6141 GB, free: 133 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/0.9318, allocations: 0 / 0.6141 GB, free: 133 MB / 490.7 MB Notification: Performance of Templates: time 0.123/1.055, allocations: 92.61 MB / 0.7046 GB, free: 67.95 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.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: 5.494990849867463]