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.0009216/0.0009216, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.0008913/0.0008913, allocations: 163.3 kB / 24.82 MB, free: 9.281 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 0.9049/0.9049, allocations: 177 MB / 205.1 MB, free: 5.465 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.2319/0.2319, allocations: 34.87 MB / 296.6 MB, free: 460 kB / 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.643e-06/1.643e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.319e-05, allocations: 3.016 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01522/0.01524, allocations: 18.41 MB / 397.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008023/0.02326, allocations: 4.935 MB / 402.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.0253, allocations: 195 kB / 402.8 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00777/0.03307, allocations: 8.085 MB / 410.8 MB, free: 2.047 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.03886, allocations: 2.136 MB / 413 MB, free: 15.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.04148, allocations: 1.369 MB / 414.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009767/0.05125, allocations: 12.63 MB / 427 MB, free: 1.844 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01736/0.0686, allocations: 16.8 MB / 443.8 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1541/0.2227, allocations: 9.812 MB / 453.6 MB, free: 55.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008885/0.2316, allocations: 7.278 MB / 460.9 MB, free: 55.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004311/0.2359, allocations: 1.72 MB / 462.6 MB, free: 55.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005226/0.2412, allocations: 1.916 MB / 464.5 MB, free: 55.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.2449, allocations: 3.8 MB / 468.3 MB, free: 55.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006923/0.2519, allocations: 4.767 MB / 473.1 MB, free: 53.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.2644, allocations: 12 MB / 485.1 MB, free: 49.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2644, allocations: 0 / 485.1 MB, free: 49.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2644, allocations: 0 / 485.1 MB, free: 49.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006431/0.2651, allocations: 0.9375 kB / 485.1 MB, free: 49.04 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.02818/0.2932, allocations: 15.24 MB / 0.4886 GB, free: 41.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2933, allocations: 8.406 kB / 0.4886 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0275/0.3208, allocations: 9.284 MB / 0.4977 GB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.3311, allocations: 6.261 MB / 0.5038 GB, free: 36.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005124/0.3316, allocations: 0.8899 MB / 0.5046 GB, free: 35.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002516/0.3341, allocations: 1.186 MB / 0.5058 GB, free: 34.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.3463, allocations: 7.447 MB / 0.5131 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.3465, allocations: 21.56 kB / 0.5131 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008392/0.3474, allocations: 496.3 kB / 0.5136 GB, free: 28.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003732/0.3478, allocations: 0.6609 MB / 0.5142 GB, free: 28.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008683/0.3564, allocations: 4.849 MB / 0.5189 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05256/0.409, allocations: 44.9 MB / 0.5628 GB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006833/0.4158, allocations: 6.3 MB / 0.569 GB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.4175, allocations: 1.351 MB / 0.5703 GB, free: 5.895 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/0.4178, allocations: 296.3 kB / 0.5706 GB, free: 5.605 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.063e-05/0.4179, allocations: 106.5 kB / 0.5707 GB, free: 5.488 MB / 442.7 MB Notification: Performance of pre-optimization done (n=653): time 8.225e-06/0.4179, allocations: 0 / 0.5707 GB, free: 5.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=653): time 0.006304/0.4242, allocations: 4.071 MB / 0.5746 GB, free: 1.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.4243, allocations: 120.5 kB / 0.5747 GB, free: 1.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.4278, allocations: 3.484 MB / 0.5781 GB, free: 14.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002992/0.4281, allocations: 129.7 kB / 0.5783 GB, free: 14.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002763/0.4309, allocations: 5.01 MB / 0.5832 GB, free: 9.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001683/0.4326, allocations: 2.4 MB / 0.5855 GB, free: 6.875 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002129/0.4347, allocations: 1.679 MB / 0.5871 GB, free: 5.336 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.4348, allocations: 484.7 kB / 0.5876 GB, free: 4.859 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.4361, allocations: 0.8111 MB / 0.5884 GB, free: 4.047 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/0.4395, allocations: 5.068 MB / 0.5934 GB, free: 13.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005711/0.4452, allocations: 6.704 MB / 0.5999 GB, free: 5.484 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-05/0.4453, allocations: 28 kB / 0.5999 GB, free: 5.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.007112/0.4524, allocations: 5.485 MB / 0.6053 GB, free: 456 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.4524, allocations: 52.23 kB / 0.6053 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.041e-05/0.4525, allocations: 88 kB / 0.6054 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.159/0.6115, allocations: 395.5 kB / 0.6058 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00583/0.6173, allocations: 1.763 MB / 0.6075 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.6208, allocations: 10.63 MB / 0.6179 GB, free: 91.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005013/0.6258, allocations: 0.7368 MB / 0.6186 GB, free: 91.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/0.6271, allocations: 324.1 kB / 0.6189 GB, free: 91.89 MB / 474.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.0039/0.631, allocations: 0.6857 MB / 0.6196 GB, free: 91.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/0.6322, allocations: 0.67 MB / 0.6202 GB, free: 91.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007921/0.6401, allocations: 5.509 MB / 0.6256 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/0.6401, allocations: 71.22 kB / 0.6257 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.6402, allocations: 0 / 0.6257 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/0.6402, allocations: 34.86 kB / 0.6257 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05098/0.6912, allocations: 23.54 MB / 0.6487 GB, free: 85.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001029/0.6913, allocations: 87.52 kB / 0.6488 GB, free: 85.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/0.694, allocations: 1.328 MB / 0.6501 GB, free: 85.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007079/0.6947, allocations: 376.2 kB / 0.6505 GB, free: 85.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004695/0.6951, allocations: 257.6 kB / 0.6507 GB, free: 85.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.6979, allocations: 10.6 MB / 0.661 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-05/0.698, allocations: 136.5 kB / 0.6612 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009231/0.7072, allocations: 9.974 MB / 0.6709 GB, free: 67.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/0.7098, allocations: 1.237 MB / 0.6721 GB, free: 67.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006773/0.7105, allocations: 243.2 kB / 0.6724 GB, free: 67.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/0.7127, allocations: 274.1 kB / 0.6726 GB, free: 67.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008659/0.7135, allocations: 0.7642 MB / 0.6734 GB, free: 67.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003888/0.7139, allocations: 276.3 kB / 0.6736 GB, free: 67.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001919/0.7158, allocations: 1.481 MB / 0.6751 GB, free: 66.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7158, allocations: 3.5 kB / 0.6751 GB, free: 66.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007787/0.7236, allocations: 2.947 MB / 0.678 GB, free: 66.14 MB / 474.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.001384/0.725, allocations: 496.7 kB / 0.6784 GB, free: 66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00748/0.7325, allocations: 5.193 MB / 0.6835 GB, free: 64.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.872e-05/0.7325, allocations: 17.69 kB / 0.6835 GB, free: 64.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003949/0.7365, allocations: 3.126 MB / 0.6866 GB, free: 63.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005964/0.7425, allocations: 1.307 MB / 0.6878 GB, free: 62.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/0.7736, allocations: 20.79 MB / 0.7081 GB, free: 44.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005153/0.7788, allocations: 3.406 MB / 0.7115 GB, free: 42.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004222/0.783, allocations: 0.9204 MB / 0.7124 GB, free: 41.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003245/0.7863, allocations: 1.38 MB / 0.7137 GB, free: 40.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7863, allocations: 0 / 0.7137 GB, free: 40.09 MB / 474.7 MB Notification: Performance of Templates: time 0.2495/1.036, allocations: 83.75 MB / 0.7955 GB, free: 132.2 MB / 0.4948 GB " [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 -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.59608270181343]