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.0009265/0.0009265, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003782/0.004709, 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.0009068/0.0009068, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003818/0.004725, 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.9767/0.9767, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08558/1.062, allocations: 53.86 MB / 243.8 MB, free: 14.91 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.2542/0.2542, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02111/0.2754, allocations: 13.22 MB / 292.6 MB, free: 6.465 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.403e-06/1.403e-06, allocations: 0 / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.494e-05, allocations: 4.703 kB / 293.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01366/0.01368, allocations: 18.57 MB / 312.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02387, allocations: 5.272 MB / 317.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.02637, allocations: 198.9 kB / 317.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008238/0.03461, allocations: 8.271 MB / 326.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.03903, allocations: 2.132 MB / 328.3 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.04096, allocations: 1.393 MB / 329.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009071/0.05003, allocations: 12.71 MB / 342.4 MB, free: 4.441 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0192/0.06923, allocations: 16.77 MB / 359.2 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.08079, allocations: 10.13 MB / 369.3 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006841/0.08763, allocations: 7.314 MB / 376.6 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.09004, allocations: 1.719 MB / 378.3 MB, free: 208 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.09246, allocations: 1.929 MB / 380.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.09443, allocations: 2.966 MB / 383.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004381/0.09881, allocations: 3.935 MB / 387.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009881/0.1087, allocations: 11.36 MB / 398.5 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601e-05/0.1087, allocations: 0 / 398.5 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1087, allocations: 0 / 398.5 MB, free: 11.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002225/0.1089, allocations: 0 / 398.5 MB, free: 11.97 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.01903/0.128, allocations: 16.52 MB / 415 MB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.128, allocations: 8.031 kB / 415.1 MB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0259/0.1539, allocations: 10.04 MB / 425.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007591/0.1615, allocations: 3.657 MB / 428.8 MB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004863/0.162, allocations: 0.891 MB / 429.6 MB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.1636, allocations: 1.176 MB / 430.8 MB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.1752, allocations: 8.979 MB / 439.8 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.1753, allocations: 19.89 kB / 439.8 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008082/0.1761, allocations: 492 kB / 440.3 MB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004201/0.1766, allocations: 0.6616 MB / 441 MB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1529/0.3295, allocations: 4.15 MB / 445.1 MB, free: 86.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03559/0.3651, allocations: 34.22 MB / 479.3 MB, free: 75.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00511/0.3702, allocations: 5.454 MB / 484.8 MB, free: 73.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.3714, allocations: 1.147 MB / 485.9 MB, free: 72.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.3716, allocations: 218.2 kB / 486.1 MB, free: 72.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.3717, allocations: 107.7 kB / 486.2 MB, free: 72.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=653): time 7.795e-06/0.3717, allocations: 0 / 486.2 MB, free: 72.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=653): time 0.003833/0.3755, allocations: 3.003 MB / 489.3 MB, free: 69.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3756, allocations: 120.5 kB / 489.4 MB, free: 69.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.377, allocations: 2.339 MB / 491.7 MB, free: 68.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.3772, allocations: 129.7 kB / 491.8 MB, free: 67.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009568/0.3781, allocations: 4.309 MB / 496.1 MB, free: 64.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008027/0.3789, allocations: 2.271 MB / 498.4 MB, free: 62.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.38, allocations: 1.311 MB / 499.7 MB, free: 61.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.1e-05/0.38, allocations: 305.1 kB / 0.4883 GB, free: 60.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00094/0.381, allocations: 0.6981 MB / 0.489 GB, free: 60.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.3825, allocations: 3.526 MB / 0.4924 GB, free: 55.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.3862, allocations: 5.206 MB / 0.4975 GB, free: 49.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-05/0.3862, allocations: 32 kB / 0.4975 GB, free: 49.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.004694/0.3909, allocations: 4.278 MB / 0.5017 GB, free: 45.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.3909, allocations: 44 kB / 0.5018 GB, free: 45.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-05/0.391, allocations: 92.16 kB / 0.5019 GB, free: 45.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.3916, allocations: 367.2 kB / 0.5022 GB, free: 45.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/0.3953, allocations: 2.027 MB / 0.5042 GB, free: 43.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.3976, allocations: 7.262 MB / 0.5113 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.4003, allocations: 0.747 MB / 0.512 GB, free: 34.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/0.4006, allocations: 299.9 kB / 0.5123 GB, free: 34.62 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.002191/0.4028, allocations: 0.6439 MB / 0.5129 GB, free: 34.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006144/0.4034, allocations: 487.6 kB / 0.5134 GB, free: 33.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.4076, allocations: 4.244 MB / 0.5175 GB, free: 29.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.4076, allocations: 68 kB / 0.5176 GB, free: 29.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4076, allocations: 4 kB / 0.5176 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/0.4077, allocations: 35.81 kB / 0.5176 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03429/0.442, allocations: 20 MB / 0.5372 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-05/0.442, allocations: 84 kB / 0.5372 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/0.445, allocations: 1.519 MB / 0.5387 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/0.4468, allocations: 0.9003 MB / 0.5396 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007377/0.4475, allocations: 347.4 kB / 0.5399 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000343/0.4479, allocations: 243.9 kB / 0.5402 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.4506, allocations: 7.239 MB / 0.5472 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.697e-05/0.4506, allocations: 138.7 kB / 0.5474 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009573/0.4602, allocations: 8.8 MB / 0.556 GB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/0.461, allocations: 243.9 kB / 0.5562 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/0.4635, allocations: 272 kB / 0.5565 GB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008248/0.4643, allocations: 0.7478 MB / 0.5572 GB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004294/0.4647, allocations: 258.6 kB / 0.5574 GB, free: 2.836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001328/0.4661, allocations: 1.087 MB / 0.5585 GB, free: 1.883 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4661, allocations: 0 / 0.5585 GB, free: 1.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006865/0.4729, allocations: 2.944 MB / 0.5614 GB, free: 14.93 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.0006721/0.4736, allocations: 484.6 kB / 0.5618 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005861/0.4795, allocations: 4.351 MB / 0.5661 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002574/0.4797, allocations: 133.9 kB / 0.5662 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003034/0.4828, allocations: 2.564 MB / 0.5687 GB, free: 8.238 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/0.4883, allocations: 1.731 MB / 0.5704 GB, free: 6.555 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1096/0.5979, allocations: 21.52 MB / 0.5914 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/0.6009, allocations: 2.555 MB / 0.5939 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00309/0.604, allocations: 0.9207 MB / 0.5948 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002476/0.6065, allocations: 1.236 MB / 0.596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6065, allocations: 0 / 0.596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of Templates: time 0.2232/0.8296, allocations: 87.42 MB / 0.6814 GB, free: 87.51 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.507941214367747]