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.001007/0.001007, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001017/0.001017, allocations: 158 kB / 25.61 MB, free: 8.895 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.9293/0.9293, allocations: 177 MB / 205.9 MB, free: 4.438 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.1428/0.1428, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.152e-06/1.152e-06, allocations: 0 / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.845e-05, allocations: 2.875 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01592/0.01594, allocations: 18.39 MB / 398.4 MB, free: 4.234 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009154/0.02509, allocations: 4.935 MB / 403.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003447/0.02854, allocations: 195 kB / 403.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009209/0.03775, allocations: 8.081 MB / 411.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007095/0.04484, allocations: 2.148 MB / 413.8 MB, free: 4.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.04855, allocations: 1.374 MB / 415.1 MB, free: 3.438 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.06057, allocations: 12.64 MB / 427.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02454/0.08511, allocations: 16.78 MB / 444.6 MB, free: 5.766 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01581/0.1009, allocations: 9.829 MB / 454.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.1111, allocations: 7.271 MB / 461.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006064/0.1172, allocations: 1.723 MB / 463.4 MB, free: 2.914 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00795/0.1251, allocations: 1.921 MB / 465.3 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006317/0.1314, allocations: 3.799 MB / 469.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008859/0.1403, allocations: 4.772 MB / 473.9 MB, free: 8.402 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.1583, allocations: 11.99 MB / 485.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1583, allocations: 0 / 485.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1583, allocations: 4 kB / 485.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000521/0.1588, allocations: 0 / 485.9 MB, free: 12.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.3137/0.4724, allocations: 15.24 MB / 0.4894 GB, free: 78.93 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4725, allocations: 10.38 kB / 0.4894 GB, free: 78.93 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02837/0.5009, allocations: 9.277 MB / 0.4984 GB, free: 78.2 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.5112, allocations: 6.262 MB / 0.5045 GB, free: 77.05 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005325/0.5117, allocations: 0.8845 MB / 0.5054 GB, free: 76.65 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003131/0.5149, allocations: 1.189 MB / 0.5066 GB, free: 76.26 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01829/0.5332, allocations: 7.451 MB / 0.5138 GB, free: 71.46 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002962/0.5334, allocations: 19.91 kB / 0.5139 GB, free: 71.44 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001301/0.5347, allocations: 497.8 kB / 0.5143 GB, free: 70.96 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003289/0.5351, allocations: 0.6538 MB / 0.515 GB, free: 70.31 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008768/0.5438, allocations: 4.85 MB / 0.5197 GB, free: 65.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05825/0.6021, allocations: 44.9 MB / 0.5636 GB, free: 22.47 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006839/0.6089, allocations: 6.299 MB / 0.5697 GB, free: 16.77 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.6106, allocations: 1.352 MB / 0.571 GB, free: 15.44 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.6108, allocations: 224.9 kB / 0.5712 GB, free: 15.22 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.6109, allocations: 110.5 kB / 0.5713 GB, free: 15.1 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 9.257e-06/0.6109, allocations: 0 / 0.5713 GB, free: 15.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.006035/0.6169, allocations: 4.068 MB / 0.5753 GB, free: 10.95 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.617, allocations: 116.5 kB / 0.5754 GB, free: 10.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/0.6206, allocations: 3.479 MB / 0.5788 GB, free: 7.887 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005357/0.6212, allocations: 133.7 kB / 0.579 GB, free: 7.75 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002233/0.6234, allocations: 5.009 MB / 0.5838 GB, free: 2.996 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001815/0.6252, allocations: 2.405 MB / 0.5862 GB, free: 0.7227 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/0.6273, allocations: 1.68 MB / 0.5878 GB, free: 15.18 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6274, allocations: 484.7 kB / 0.5883 GB, free: 14.71 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.6288, allocations: 0.8072 MB / 0.5891 GB, free: 13.9 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003367/0.6322, allocations: 5.069 MB / 0.594 GB, free: 7.312 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005543/0.6377, allocations: 6.707 MB / 0.6006 GB, free: 15.33 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.353e-05/0.6377, allocations: 28 kB / 0.6006 GB, free: 15.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.007239/0.645, allocations: 5.491 MB / 0.606 GB, free: 10.29 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.645, allocations: 48.03 kB / 0.606 GB, free: 10.25 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.163e-05/0.6451, allocations: 92 kB / 0.6061 GB, free: 10.16 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.6462, allocations: 379.8 kB / 0.6065 GB, free: 9.762 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00384/0.65, allocations: 1.775 MB / 0.6082 GB, free: 8.113 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.6553, allocations: 10.63 MB / 0.6186 GB, free: 12.93 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004569/0.6599, allocations: 0.7406 MB / 0.6193 GB, free: 12.18 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009074/0.6608, allocations: 319.9 kB / 0.6196 GB, free: 11.87 MB / 458.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.003366/0.6641, allocations: 0.6842 MB / 0.6203 GB, free: 11.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/0.6653, allocations: 0.6728 MB / 0.6209 GB, free: 10.62 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006462/0.6718, allocations: 5.505 MB / 0.6263 GB, free: 5.348 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/0.6718, allocations: 71.94 kB / 0.6264 GB, free: 5.277 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.6719, allocations: 4 kB / 0.6264 GB, free: 5.273 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.52e-05/0.6719, allocations: 31.88 kB / 0.6264 GB, free: 5.242 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05472/0.7266, allocations: 23.45 MB / 0.6493 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001565/0.7268, allocations: 84.22 kB / 0.6494 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004302/0.7311, allocations: 1.329 MB / 0.6507 GB, free: 12.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009995/0.7321, allocations: 375.3 kB / 0.651 GB, free: 12.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005951/0.7327, allocations: 255.9 kB / 0.6513 GB, free: 12.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005651/0.7383, allocations: 10.6 MB / 0.6616 GB, free: 0.9766 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.435e-05/0.7384, allocations: 132.2 kB / 0.6618 GB, free: 0.8828 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.195/0.9334, allocations: 9.974 MB / 0.6715 GB, free: 110.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/0.9355, allocations: 1.23 MB / 0.6727 GB, free: 110.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005533/0.936, allocations: 242.6 kB / 0.6729 GB, free: 110.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/0.9379, allocations: 274.7 kB / 0.6732 GB, free: 110.5 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006529/0.9386, allocations: 0.7672 MB / 0.674 GB, free: 110.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/0.9389, allocations: 275 kB / 0.6742 GB, free: 110.4 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001735/0.9406, allocations: 1.477 MB / 0.6757 GB, free: 110.2 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9406, allocations: 0 / 0.6757 GB, free: 110.2 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007535/0.9482, allocations: 2.948 MB / 0.6785 GB, free: 110 MB / 490.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.001103/0.9493, allocations: 0.4948 MB / 0.679 GB, free: 109.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007318/0.9566, allocations: 5.193 MB / 0.6841 GB, free: 108.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.983e-05/0.9566, allocations: 16.75 kB / 0.6841 GB, free: 108.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003283/0.9599, allocations: 3.128 MB / 0.6872 GB, free: 107.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006495/0.9664, allocations: 1.298 MB / 0.6884 GB, free: 107.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/0.9941, allocations: 20.79 MB / 0.7087 GB, free: 97.14 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004612/0.9987, allocations: 3.407 MB / 0.7121 GB, free: 96.82 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003723/1.002, allocations: 0.9169 MB / 0.7129 GB, free: 96.44 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/1.005, allocations: 1.383 MB / 0.7143 GB, free: 95.31 MB / 490.8 MB Notification: Performance of SimCode: time 1.914e-06/1.005, allocations: 0 / 0.7143 GB, free: 95.31 MB / 490.8 MB Notification: Performance of Templates: time 0.09881/1.104, allocations: 85.32 MB / 0.7976 GB, free: 16.91 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: 6.535659248009324]