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.001337/0.001337, allocations: 88.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.001607/0.001607, allocations: 161.9 kB / 24.91 MB, free: 9.152 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.9553/0.9553, allocations: 177 MB / 205.2 MB, free: 5.445 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.261/0.261, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.393e-06/1.393e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.811e-05, allocations: 3.859 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01402/0.01405, allocations: 18.41 MB / 344.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.02416, allocations: 5.241 MB / 349.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/0.0275, allocations: 195 kB / 349.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009463/0.03697, allocations: 8.322 MB / 358.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006144/0.04311, allocations: 2.144 MB / 360.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.04584, allocations: 1.389 MB / 361.6 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.05688, allocations: 12.64 MB / 374.3 MB, free: 6.633 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0225/0.07938, allocations: 17.28 MB / 391.5 MB, free: 5.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/0.09289, allocations: 9.883 MB / 401.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.103, allocations: 7.349 MB / 408.8 MB, free: 3.828 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004392/0.1074, allocations: 1.723 MB / 410.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004868/0.1122, allocations: 1.925 MB / 412.4 MB, free: 184 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003769/0.116, allocations: 3.791 MB / 416.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00732/0.1233, allocations: 4.772 MB / 421 MB, free: 7.594 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.1361, allocations: 11.99 MB / 433 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1361, allocations: 0 / 433 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1361, allocations: 0 / 433 MB, free: 11.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005175/0.1366, allocations: 3.938 kB / 433 MB, free: 11.57 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.3009/0.4376, allocations: 14.1 MB / 447.1 MB, free: 80.11 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4376, allocations: 10.34 kB / 447.1 MB, free: 80.11 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0297/0.4673, allocations: 10.04 MB / 457.1 MB, free: 80.02 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008951/0.4763, allocations: 3.653 MB / 460.8 MB, free: 79.49 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006039/0.4769, allocations: 0.8887 MB / 461.7 MB, free: 79.46 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004144/0.481, allocations: 1.18 MB / 462.8 MB, free: 79.45 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02112/0.5021, allocations: 8.986 MB / 471.8 MB, free: 72.72 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002654/0.5024, allocations: 21.02 kB / 471.9 MB, free: 72.7 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.504, allocations: 496.6 kB / 472.3 MB, free: 72.23 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003656/0.5044, allocations: 0.6577 MB / 473 MB, free: 71.57 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00944/0.5138, allocations: 4.149 MB / 477.1 MB, free: 67.39 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04556/0.5594, allocations: 34.03 MB / 0.4992 GB, free: 35.11 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.5648, allocations: 5.374 MB / 0.5044 GB, free: 29.8 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.5661, allocations: 1.148 MB / 0.5056 GB, free: 28.67 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.5664, allocations: 227.7 kB / 0.5058 GB, free: 28.45 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.5665, allocations: 111.5 kB / 0.5059 GB, free: 28.33 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 1.082e-05/0.5665, allocations: 0 / 0.5059 GB, free: 28.33 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.004387/0.5709, allocations: 2.999 MB / 0.5088 GB, free: 25.28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.5709, allocations: 124.3 kB / 0.5089 GB, free: 25.14 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5729, allocations: 2.34 MB / 0.5112 GB, free: 23.36 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.5732, allocations: 133.7 kB / 0.5113 GB, free: 23.22 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.5744, allocations: 4.306 MB / 0.5155 GB, free: 19.19 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.5754, allocations: 2.268 MB / 0.5178 GB, free: 17.05 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.5766, allocations: 1.305 MB / 0.519 GB, free: 15.89 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.445e-05/0.5766, allocations: 309.1 kB / 0.5193 GB, free: 15.58 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.5777, allocations: 0.6981 MB / 0.52 GB, free: 14.88 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.5795, allocations: 3.519 MB / 0.5234 GB, free: 10.33 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.5833, allocations: 5.211 MB / 0.5285 GB, free: 4.324 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.747e-05/0.5834, allocations: 28 kB / 0.5286 GB, free: 4.297 MB / 410.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.005345/0.5887, allocations: 4.275 MB / 0.5327 GB, free: 0.5273 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.5888, allocations: 45 kB / 0.5328 GB, free: 496 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.149e-05/0.5888, allocations: 88 kB / 0.5329 GB, free: 408 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.5895, allocations: 367 kB / 0.5332 GB, free: 28 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/0.5931, allocations: 1.727 MB / 0.5349 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/0.597, allocations: 7.251 MB / 0.542 GB, free: 6.773 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/0.6004, allocations: 0.737 MB / 0.5427 GB, free: 6.031 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005059/0.6009, allocations: 307.9 kB / 0.543 GB, free: 5.73 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.002524/0.6034, allocations: 0.6385 MB / 0.5436 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000857/0.6043, allocations: 499.6 kB / 0.5441 GB, free: 4.723 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.6095, allocations: 4.24 MB / 0.5482 GB, free: 0.7344 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/0.6095, allocations: 64 kB / 0.5483 GB, free: 0.6719 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.6096, allocations: 4 kB / 0.5483 GB, free: 0.668 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/0.6096, allocations: 35.88 kB / 0.5483 GB, free: 0.6328 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04223/0.6518, allocations: 20 MB / 0.5679 GB, free: 13.04 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00012/0.6519, allocations: 84 kB / 0.5679 GB, free: 12.96 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/0.6558, allocations: 1.29 MB / 0.5692 GB, free: 11.77 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00087/0.6567, allocations: 359.6 kB / 0.5695 GB, free: 11.41 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004998/0.6572, allocations: 243.9 kB / 0.5698 GB, free: 11.17 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004121/0.6613, allocations: 7.23 MB / 0.5768 GB, free: 3.539 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.467e-05/0.6614, allocations: 136.2 kB / 0.577 GB, free: 3.441 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.6716, allocations: 8.797 MB / 0.5856 GB, free: 8.461 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/0.6738, allocations: 0.8959 MB / 0.5864 GB, free: 7.59 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006672/0.6744, allocations: 235.9 kB / 0.5867 GB, free: 7.359 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/0.677, allocations: 275.9 kB / 0.5869 GB, free: 7.09 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009261/0.6779, allocations: 0.743 MB / 0.5877 GB, free: 6.414 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004503/0.6784, allocations: 255.9 kB / 0.5879 GB, free: 6.164 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001532/0.6799, allocations: 1.088 MB / 0.589 GB, free: 5.215 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6799, allocations: 0 / 0.589 GB, free: 5.215 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.008108/0.688, allocations: 2.951 MB / 0.5918 GB, free: 2.254 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.0008272/0.6889, allocations: 481.5 kB / 0.5923 GB, free: 1.879 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007264/0.6961, allocations: 4.35 MB / 0.5965 GB, free: 13.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001972/0.6963, allocations: 76.12 kB / 0.5966 GB, free: 13.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003729/0.7, allocations: 2.569 MB / 0.5991 GB, free: 11.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006369/0.7064, allocations: 1.281 MB / 0.6004 GB, free: 9.992 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1828/0.8892, allocations: 19.71 MB / 0.6196 GB, free: 130.5 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00306/0.8923, allocations: 2.475 MB / 0.622 GB, free: 130.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003066/0.8954, allocations: 0.9219 MB / 0.6229 GB, free: 130.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/0.8978, allocations: 1.229 MB / 0.6241 GB, free: 130 MB / 490.8 MB Notification: Performance of SimCode: time 1.913e-06/0.8978, allocations: 0 / 0.6241 GB, free: 130 MB / 490.8 MB Notification: Performance of Templates: time 0.09667/0.9945, allocations: 84.16 MB / 0.7063 GB, free: 64.03 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 -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.719778183847666]