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.000937/0.000937, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009855/0.0009855, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9068/0.9068, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2299/0.2299, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.293e-06/1.293e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.409e-05, allocations: 3.016 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01328/0.0133, allocations: 18.41 MB / 343.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009759/0.02306, allocations: 5.253 MB / 348.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.0252, allocations: 191 kB / 349.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007587/0.03278, allocations: 8.31 MB / 357.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.03673, allocations: 2.151 MB / 359.5 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.03896, allocations: 1.393 MB / 360.9 MB, free: 3.855 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008462/0.04742, allocations: 12.64 MB / 373.6 MB, free: 7.164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01631/0.06373, allocations: 17.28 MB / 390.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009808/0.07354, allocations: 9.879 MB / 400.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006922/0.08046, allocations: 7.353 MB / 408.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001832/0.0823, allocations: 1.723 MB / 409.8 MB, free: 2.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.08468, allocations: 1.913 MB / 411.7 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.08667, allocations: 3.799 MB / 415.5 MB, free: 12.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004282/0.09095, allocations: 4.768 MB / 420.3 MB, free: 8.133 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008951/0.09991, allocations: 12 MB / 432.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.09991, allocations: 0 / 432.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09991, allocations: 0 / 432.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000174/0.1001, allocations: 0 / 432.3 MB, free: 12.1 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.2625/0.3626, allocations: 14.1 MB / 446.4 MB, free: 80.36 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3626, allocations: 7 kB / 446.4 MB, free: 80.36 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03162/0.3942, allocations: 10.04 MB / 456.5 MB, free: 80.27 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00784/0.4021, allocations: 3.653 MB / 460.1 MB, free: 79.74 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004418/0.4025, allocations: 0.8888 MB / 461 MB, free: 79.71 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/0.404, allocations: 1.18 MB / 462.2 MB, free: 79.7 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/0.4161, allocations: 8.986 MB / 471.2 MB, free: 73.53 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002132/0.4164, allocations: 22.31 kB / 471.2 MB, free: 73.52 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.4174, allocations: 496.6 kB / 471.7 MB, free: 73.04 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000433/0.4179, allocations: 0.6499 MB / 472.3 MB, free: 72.39 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/0.4253, allocations: 4.153 MB / 476.5 MB, free: 68.21 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03657/0.4618, allocations: 34.03 MB / 0.4985 GB, free: 35.92 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/0.4664, allocations: 5.367 MB / 0.5038 GB, free: 30.61 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.4676, allocations: 1.146 MB / 0.5049 GB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.4679, allocations: 223 kB / 0.5051 GB, free: 29.26 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.4679, allocations: 106.6 kB / 0.5052 GB, free: 29.14 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 7.163e-06/0.4679, allocations: 4 kB / 0.5052 GB, free: 29.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.003952/0.4719, allocations: 3.002 MB / 0.5082 GB, free: 26.09 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.4719, allocations: 120.5 kB / 0.5083 GB, free: 25.95 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.4735, allocations: 2.34 MB / 0.5106 GB, free: 24.16 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002468/0.4738, allocations: 133.7 kB / 0.5107 GB, free: 24.03 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.4748, allocations: 4.303 MB / 0.5149 GB, free: 20 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008604/0.4757, allocations: 2.273 MB / 0.5171 GB, free: 17.86 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.4768, allocations: 1.306 MB / 0.5184 GB, free: 16.69 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.15e-05/0.4768, allocations: 307.8 kB / 0.5187 GB, free: 16.39 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009591/0.4778, allocations: 0.6942 MB / 0.5193 GB, free: 15.7 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.4794, allocations: 3.528 MB / 0.5228 GB, free: 11.13 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.483, allocations: 5.212 MB / 0.5279 GB, free: 5.125 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-05/0.483, allocations: 28 kB / 0.5279 GB, free: 5.098 MB / 410.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.004318/0.4873, allocations: 4.273 MB / 0.5321 GB, free: 1.328 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.4874, allocations: 51.55 kB / 0.5321 GB, free: 1.281 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.534e-05/0.4874, allocations: 92 kB / 0.5322 GB, free: 1.191 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/0.488, allocations: 360.2 kB / 0.5326 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.491, allocations: 1.729 MB / 0.5343 GB, free: 15.22 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.4941, allocations: 7.246 MB / 0.5413 GB, free: 7.582 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.4964, allocations: 0.7447 MB / 0.5421 GB, free: 6.832 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/0.4968, allocations: 299.9 kB / 0.5423 GB, free: 6.539 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.001911/0.4987, allocations: 0.6421 MB / 0.543 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006513/0.4994, allocations: 487.6 kB / 0.5434 GB, free: 5.535 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/0.5041, allocations: 4.238 MB / 0.5476 GB, free: 1.547 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.5041, allocations: 75.97 kB / 0.5476 GB, free: 1.473 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5041, allocations: 0 / 0.5476 GB, free: 1.473 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/0.5042, allocations: 31.88 kB / 0.5477 GB, free: 1.441 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.036/0.5402, allocations: 20 MB / 0.5672 GB, free: 13.85 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.507e-05/0.5402, allocations: 88 kB / 0.5673 GB, free: 13.76 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/0.5429, allocations: 1.285 MB / 0.5685 GB, free: 12.58 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006293/0.5435, allocations: 354.9 kB / 0.5689 GB, free: 12.22 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002995/0.5438, allocations: 239.9 kB / 0.5691 GB, free: 11.98 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/0.5467, allocations: 7.23 MB / 0.5762 GB, free: 4.352 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.267e-05/0.5467, allocations: 141.1 kB / 0.5763 GB, free: 4.254 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007179/0.5539, allocations: 8.794 MB / 0.5849 GB, free: 9.277 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/0.5556, allocations: 0.8922 MB / 0.5858 GB, free: 8.41 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/0.5561, allocations: 243.9 kB / 0.586 GB, free: 8.172 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.5579, allocations: 276 kB / 0.5863 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/0.5585, allocations: 0.7482 MB / 0.587 GB, free: 7.223 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000318/0.5589, allocations: 259.9 kB / 0.5872 GB, free: 6.969 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001078/0.5599, allocations: 1.08 MB / 0.5883 GB, free: 6.023 MB / 474.8 MB Notification: Performance of sort global known variables: time 1e-07/0.5599, allocations: 0 / 0.5883 GB, free: 6.023 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005876/0.5658, allocations: 2.951 MB / 0.5912 GB, free: 3.062 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.0006246/0.5664, allocations: 486.8 kB / 0.5916 GB, free: 2.684 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.004927/0.5714, allocations: 4.344 MB / 0.5959 GB, free: 14.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001077/0.5715, allocations: 71.94 kB / 0.596 GB, free: 14.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.5737, allocations: 2.574 MB / 0.5985 GB, free: 12.05 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/0.5773, allocations: 1.292 MB / 0.5997 GB, free: 10.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1576/0.735, allocations: 19.7 MB / 0.619 GB, free: 131 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/0.7372, allocations: 2.479 MB / 0.6214 GB, free: 130.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002708/0.7399, allocations: 0.9145 MB / 0.6223 GB, free: 130.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/0.7423, allocations: 1.238 MB / 0.6235 GB, free: 130.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.914e-06/0.7423, allocations: 0 / 0.6235 GB, free: 130.6 MB / 490.8 MB Notification: Performance of Templates: time 0.09064/0.8329, allocations: 84.19 MB / 0.7057 GB, free: 64.88 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 -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: 5.596630204003304]