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.001077/0.001077, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001191/0.001191, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 1.034/1.034, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.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.3071/0.3071, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.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.913e-06/1.913e-06, allocations: 0 / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.102e-05, allocations: 6.312 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0149/0.01493, allocations: 18.45 MB / 344.4 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.02664, allocations: 5.245 MB / 349.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005058/0.0317, allocations: 191 kB / 349.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.04229, allocations: 8.244 MB / 358.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008137/0.05042, allocations: 2.132 MB / 360.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.05441, allocations: 1.391 MB / 361.6 MB, free: 3.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.06641, allocations: 12.64 MB / 374.3 MB, free: 6.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02854/0.09495, allocations: 17.25 MB / 391.5 MB, free: 5.113 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01696/0.1119, allocations: 9.883 MB / 401.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.1241, allocations: 7.345 MB / 408.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005773/0.1299, allocations: 1.723 MB / 410.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006953/0.1368, allocations: 1.933 MB / 412.4 MB, free: 204 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005877/0.1427, allocations: 3.799 MB / 416.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009727/0.1525, allocations: 4.772 MB / 421 MB, free: 7.605 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0181/0.1706, allocations: 11.99 MB / 433 MB, free: 11.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.1706, allocations: 0 / 433 MB, free: 11.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1706, allocations: 0 / 433 MB, free: 11.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006224/0.1712, allocations: 0 / 433 MB, free: 11.58 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.3242/0.4954, allocations: 14.1 MB / 447.1 MB, free: 80.2 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4954, allocations: 9.906 kB / 447.1 MB, free: 80.2 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03012/0.5255, allocations: 10.04 MB / 457.1 MB, free: 80.11 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008008/0.5335, allocations: 3.65 MB / 460.8 MB, free: 79.57 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005386/0.5341, allocations: 0.8856 MB / 461.6 MB, free: 79.55 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/0.5375, allocations: 1.18 MB / 462.8 MB, free: 79.54 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.559, allocations: 8.983 MB / 471.8 MB, free: 72.66 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/0.5593, allocations: 27.8 kB / 471.8 MB, free: 72.64 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.5606, allocations: 496.5 kB / 472.3 MB, free: 72.17 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003555/0.561, allocations: 0.6539 MB / 473 MB, free: 71.51 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009693/0.5707, allocations: 4.151 MB / 477.1 MB, free: 67.34 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.061/0.6317, allocations: 34.02 MB / 0.4992 GB, free: 35.05 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.6386, allocations: 5.381 MB / 0.5044 GB, free: 29.74 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.6403, allocations: 1.145 MB / 0.5055 GB, free: 28.62 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.6407, allocations: 227.7 kB / 0.5058 GB, free: 28.39 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.6407, allocations: 111.2 kB / 0.5059 GB, free: 28.28 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 1.033e-05/0.6407, allocations: 0 / 0.5059 GB, free: 28.28 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.005654/0.6464, allocations: 2.999 MB / 0.5088 GB, free: 25.22 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.6464, allocations: 120.5 kB / 0.5089 GB, free: 25.09 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.6489, allocations: 2.338 MB / 0.5112 GB, free: 23.3 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.6492, allocations: 133.7 kB / 0.5113 GB, free: 23.17 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.6506, allocations: 4.311 MB / 0.5155 GB, free: 19.13 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.6517, allocations: 2.266 MB / 0.5177 GB, free: 16.99 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.6533, allocations: 1.309 MB / 0.519 GB, free: 15.83 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.874e-05/0.6534, allocations: 305.1 kB / 0.5193 GB, free: 15.53 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.6548, allocations: 0.6942 MB / 0.52 GB, free: 14.83 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.657, allocations: 3.522 MB / 0.5234 GB, free: 10.27 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.6612, allocations: 5.215 MB / 0.5285 GB, free: 4.27 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.028e-05/0.6612, allocations: 28 kB / 0.5285 GB, free: 4.242 MB / 410.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.005846/0.6671, allocations: 4.266 MB / 0.5327 GB, free: 488 kB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.6671, allocations: 48 kB / 0.5328 GB, free: 440 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.499e-05/0.6672, allocations: 91.98 kB / 0.5328 GB, free: 348 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007318/0.6679, allocations: 359.6 kB / 0.5332 GB, free: 15.97 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/0.672, allocations: 1.882 MB / 0.535 GB, free: 14.22 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.6759, allocations: 7.271 MB / 0.5421 GB, free: 6.555 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/0.6796, allocations: 0.7328 MB / 0.5428 GB, free: 5.816 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006362/0.6802, allocations: 307.9 kB / 0.5431 GB, free: 5.516 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.0025/0.6827, allocations: 0.6357 MB / 0.5438 GB, free: 4.992 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009045/0.6836, allocations: 495.6 kB / 0.5442 GB, free: 4.508 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005716/0.6893, allocations: 4.241 MB / 0.5484 GB, free: 0.5234 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.771e-05/0.6894, allocations: 68 kB / 0.5484 GB, free: 468 kB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6894, allocations: 4 kB / 0.5484 GB, free: 464 kB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/0.6894, allocations: 35.86 kB / 0.5485 GB, free: 428 kB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04199/0.7314, allocations: 20 MB / 0.568 GB, free: 12.82 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001142/0.7315, allocations: 88.03 kB / 0.5681 GB, free: 12.73 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003685/0.7352, allocations: 1.402 MB / 0.5695 GB, free: 11.43 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007/0.7359, allocations: 352.3 kB / 0.5698 GB, free: 11.08 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005259/0.7364, allocations: 239.9 kB / 0.57 GB, free: 10.84 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.7403, allocations: 7.241 MB / 0.5771 GB, free: 3.199 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-05/0.7404, allocations: 139.6 kB / 0.5772 GB, free: 3.098 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009506/0.7499, allocations: 8.801 MB / 0.5858 GB, free: 8.117 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/0.7522, allocations: 0.8889 MB / 0.5867 GB, free: 7.254 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006213/0.7528, allocations: 243.9 kB / 0.5869 GB, free: 7.016 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.7548, allocations: 268 kB / 0.5872 GB, free: 6.754 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/0.7559, allocations: 0.7498 MB / 0.5879 GB, free: 6.074 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003393/0.7563, allocations: 263.9 kB / 0.5882 GB, free: 5.816 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001298/0.7576, allocations: 1.08 MB / 0.5892 GB, free: 4.871 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7576, allocations: 4 kB / 0.5892 GB, free: 4.867 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.00739/0.765, allocations: 2.947 MB / 0.5921 GB, free: 1.91 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.0009783/0.7659, allocations: 479.2 kB / 0.5926 GB, free: 1.539 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.006516/0.7725, allocations: 4.355 MB / 0.5968 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001613/0.7726, allocations: 71.94 kB / 0.5969 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.7756, allocations: 2.566 MB / 0.5994 GB, free: 10.89 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/0.7807, allocations: 1.292 MB / 0.6006 GB, free: 9.641 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.191/0.9717, allocations: 19.69 MB / 0.6199 GB, free: 130.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/0.9752, allocations: 2.479 MB / 0.6223 GB, free: 130.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003416/0.9786, allocations: 0.9216 MB / 0.6232 GB, free: 130.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/0.9813, allocations: 1.233 MB / 0.6244 GB, free: 130.3 MB / 490.8 MB Notification: Performance of SimCode: time 1.784e-06/0.9813, allocations: 0 / 0.6244 GB, free: 130.3 MB / 490.8 MB Notification: Performance of Templates: time 0.09941/1.081, allocations: 84.16 MB / 0.7066 GB, free: 64.05 MB / 490.8 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 -s gbode -gbm=radauIIA3 -emit_protected -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: 6.19469311228022]