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.0009391/0.0009391, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.0009007/0.0009007, allocations: 161 kB / 24.99 MB, free: 8.801 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.8961/0.8961, allocations: 177 MB / 205.2 MB, free: 5.574 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.2619/0.2619, allocations: 34.86 MB / 296.6 MB, free: 0.5742 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.703e-06/1.703e-06, allocations: 0 / 378.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.499e-05, allocations: 2.312 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01344/0.01345, allocations: 18.99 MB / 397.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006103/0.01956, allocations: 4.947 MB / 402.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.02058, allocations: 195 kB / 402.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007113/0.0277, allocations: 8.296 MB / 411.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.03047, allocations: 2.144 MB / 413.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.03201, allocations: 1.396 MB / 414.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007437/0.03945, allocations: 12.62 MB / 427.3 MB, free: 1.637 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.05513, allocations: 16.8 MB / 444.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1449/0.2, allocations: 9.824 MB / 453.9 MB, free: 55.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006546/0.2065, allocations: 7.181 MB / 461.1 MB, free: 55.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002662/0.2092, allocations: 1.723 MB / 462.8 MB, free: 55.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.2112, allocations: 1.915 MB / 464.8 MB, free: 55.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.2129, allocations: 3.802 MB / 468.6 MB, free: 54.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003511/0.2164, allocations: 4.768 MB / 473.3 MB, free: 53.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008576/0.225, allocations: 12 MB / 485.3 MB, free: 48.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.225, allocations: 0 / 485.3 MB, free: 48.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.225, allocations: 1.438 kB / 485.3 MB, free: 48.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002442/0.2252, allocations: 0.5 kB / 485.3 MB, free: 48.38 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.01952/0.2447, allocations: 15.83 MB / 0.4894 GB, free: 40.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2448, allocations: 11.28 kB / 0.4894 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0342/0.279, allocations: 13.37 MB / 0.5025 GB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008115/0.2871, allocations: 6.828 MB / 0.5091 GB, free: 33.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/0.2874, allocations: 0.8879 MB / 0.51 GB, free: 32.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.2888, allocations: 1.184 MB / 0.5112 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.302, allocations: 8.431 MB / 0.5194 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.3022, allocations: 15.56 kB / 0.5194 GB, free: 23.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008473/0.3031, allocations: 497.7 kB / 0.5199 GB, free: 23.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003236/0.3034, allocations: 0.6616 MB / 0.5205 GB, free: 22.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.3139, allocations: 6.208 MB / 0.5266 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05454/0.3685, allocations: 46.62 MB / 0.5721 GB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/0.386, allocations: 7.394 MB / 0.5793 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005635/0.3916, allocations: 1.58 MB / 0.5809 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/0.3922, allocations: 231.2 kB / 0.5811 GB, free: 9.117 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.3923, allocations: 110.5 kB / 0.5812 GB, free: 8.996 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 1.206e-05/0.3924, allocations: 0 / 0.5812 GB, free: 8.996 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.01447/0.4068, allocations: 4.781 MB / 0.5859 GB, free: 4.133 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4069, allocations: 120.5 kB / 0.586 GB, free: 4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00595/0.4129, allocations: 3.559 MB / 0.5895 GB, free: 436 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009367/0.4138, allocations: 129.7 kB / 0.5896 GB, free: 300 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003056/0.4169, allocations: 4.981 MB / 0.5945 GB, free: 11.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00294/0.4198, allocations: 2.383 MB / 0.5968 GB, free: 8.945 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002515/0.4223, allocations: 1.652 MB / 0.5984 GB, free: 7.285 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4224, allocations: 488.7 kB / 0.5989 GB, free: 6.805 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.4247, allocations: 1.049 MB / 0.5999 GB, free: 5.754 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.153/0.5777, allocations: 5.275 MB / 0.605 GB, free: 125.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007647/0.5853, allocations: 7.113 MB / 0.612 GB, free: 120.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.973e-05/0.5854, allocations: 25.47 kB / 0.612 GB, free: 120.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.009608/0.595, allocations: 6.038 MB / 0.6179 GB, free: 119.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.5951, allocations: 44.44 kB / 0.6179 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.5952, allocations: 91.5 kB / 0.618 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009161/0.5961, allocations: 429.5 kB / 0.6184 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.6004, allocations: 2.008 MB / 0.6204 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.6038, allocations: 10.88 MB / 0.631 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004545/0.6083, allocations: 1.018 MB / 0.632 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008848/0.6092, allocations: 389.4 kB / 0.6324 GB, free: 108.9 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.003384/0.6126, allocations: 0.6823 MB / 0.6331 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.6137, allocations: 0.6708 MB / 0.6337 GB, free: 108.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/0.6212, allocations: 5.87 MB / 0.6395 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/0.6212, allocations: 66.75 kB / 0.6395 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.6212, allocations: 3.312 kB / 0.6395 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/0.6213, allocations: 35.48 kB / 0.6396 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05252/0.6738, allocations: 24.33 MB / 0.6633 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001181/0.6739, allocations: 95.94 kB / 0.6634 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003646/0.6776, allocations: 1.548 MB / 0.6649 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008504/0.6784, allocations: 403.9 kB / 0.6653 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000696/0.6791, allocations: 258.9 kB / 0.6656 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.6822, allocations: 10.79 MB / 0.6761 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.171e-05/0.6822, allocations: 140.1 kB / 0.6762 GB, free: 89.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.6939, allocations: 10.61 MB / 0.6866 GB, free: 79.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002864/0.6967, allocations: 1.374 MB / 0.6879 GB, free: 78.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008963/0.6976, allocations: 250.6 kB / 0.6882 GB, free: 78.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/0.7006, allocations: 0.5481 MB / 0.6887 GB, free: 78.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000766/0.7013, allocations: 0.7635 MB / 0.6894 GB, free: 77.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000392/0.7017, allocations: 319.1 kB / 0.6898 GB, free: 77.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002291/0.704, allocations: 1.59 MB / 0.6913 GB, free: 75.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.704, allocations: 0 / 0.6913 GB, free: 75.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008898/0.7129, allocations: 2.947 MB / 0.6942 GB, free: 72.93 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.001258/0.7142, allocations: 0.4932 MB / 0.6947 GB, free: 72.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007945/0.7221, allocations: 5.626 MB / 0.7002 GB, free: 67.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.794e-05/0.7222, allocations: 13.88 kB / 0.7002 GB, free: 67.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004132/0.7263, allocations: 3.28 MB / 0.7034 GB, free: 64.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005713/0.732, allocations: 1.309 MB / 0.7047 GB, free: 63.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/0.7592, allocations: 21.01 MB / 0.7252 GB, free: 42.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003647/0.7628, allocations: 3.407 MB / 0.7285 GB, free: 39.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005282/0.7681, allocations: 2.639 MB / 0.7311 GB, free: 38.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/0.7698, allocations: 0.522 MB / 0.7316 GB, free: 37.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7698, allocations: 0 / 0.7316 GB, free: 37.62 MB / 474.7 MB Notification: Performance of Templates: time 0.2661/1.036, allocations: 76.47 MB / 0.8063 GB, free: 143.8 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 -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.705821559065953]