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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001282, allocations: 96.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2891/0.2891, allocations: 45.91 MB / 344 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002994, allocations: 8 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 63.46 MB / 481.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01614/0.1725, allocations: 15.83 MB / 497.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.1854, allocations: 4.766 MB / 0.4902 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004252/0.1897, allocations: 135.6 kB / 0.4904 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.1938, allocations: 0.944 MB / 0.4913 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008495/0.2024, allocations: 1.694 MB / 0.4929 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.2065, allocations: 1.052 MB / 0.494 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.2205, allocations: 7.765 MB / 0.5015 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3366/0.5571, allocations: 21.09 MB / 0.5221 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009168/0.5663, allocations: 4.102 MB / 0.5261 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0114/0.5778, allocations: 4.627 MB / 0.5307 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005708/0.5835, allocations: 0.6767 MB / 0.5313 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007074/0.5906, allocations: 0.8332 MB / 0.5321 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004819/0.5955, allocations: 2.203 MB / 0.5343 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006282/0.6018, allocations: 2.33 MB / 0.5366 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.6209, allocations: 19.79 MB / 0.5559 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.621, allocations: 0 / 0.5559 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.621, allocations: 0 / 0.5559 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007643/0.6218, allocations: 0 / 0.5559 GB, free: 11.05 MB / 398.1 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.03612/0.6579, allocations: 11.96 MB / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.658, allocations: 8.031 kB / 0.5676 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0609/0.7189, allocations: 11.49 MB / 0.5788 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/0.7391, allocations: 7.184 MB / 0.5858 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/0.7402, allocations: 0.8875 MB / 0.5867 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005708/0.7459, allocations: 1.171 MB / 0.5878 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05535/0.8013, allocations: 18.35 MB / 0.6057 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006591/0.802, allocations: 19.81 kB / 0.6058 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004588/0.8066, allocations: 496.4 kB / 0.6062 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007797/0.8074, allocations: 0.6617 MB / 0.6069 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05067/0.8581, allocations: 18.96 MB / 0.6254 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1302/0.9883, allocations: 60.8 MB / 0.6848 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02162/1.01, allocations: 16.53 MB / 0.7009 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/1.011, allocations: 321.1 kB / 0.7012 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.082e-05/1.011, allocations: 107.9 kB / 0.7013 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.544e-06/1.011, allocations: 0 / 0.7013 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.5473/1.558, allocations: 12.2 MB / 0.7132 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.558, allocations: 118 kB / 0.7133 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02067/1.579, allocations: 8.483 MB / 0.7216 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001372/1.58, allocations: 133.7 kB / 0.7218 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004613/1.585, allocations: 4.493 MB / 0.7261 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00285/1.588, allocations: 2.186 MB / 0.7283 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000597/1.588, allocations: 158.4 kB / 0.7284 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003841/1.589, allocations: 0.6181 MB / 0.729 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006263/1.595, allocations: 4.057 MB / 0.733 GB, free: 142 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007031/1.602, allocations: 6.864 MB / 0.7397 GB, free: 137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008107/1.61, allocations: 5.561 MB / 0.7451 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/1.61, allocations: 28.03 kB / 0.7452 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=983) (initialization): time 0.02271/1.633, allocations: 11.92 MB / 0.7568 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.633, allocations: 45.72 kB / 0.7568 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/1.634, allocations: 93.34 kB / 0.7569 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008703/1.634, allocations: 395.8 kB / 0.7573 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007635/1.642, allocations: 2.012 MB / 0.7593 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/1.647, allocations: 8.784 MB / 0.7679 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007847/1.655, allocations: 1.349 MB / 0.7692 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.657, allocations: 375.5 kB / 0.7695 GB, free: 121.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * 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 (977): * Single equations (assignments): 971 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01035/1.667, allocations: 4.584 MB / 0.774 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/1.669, allocations: 0.7059 MB / 0.7747 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.684, allocations: 10.54 MB / 0.785 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.003e-05/1.684, allocations: 68 kB / 0.785 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.684, allocations: 0 / 0.785 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.423e-05/1.684, allocations: 31.88 kB / 0.7851 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5113/2.196, allocations: 160.7 MB / 0.942 GB, free: 164.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002113/2.196, allocations: 86.81 kB / 0.9421 GB, free: 164.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006029/2.202, allocations: 1.535 MB / 0.9436 GB, free: 164.6 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008362/2.203, allocations: 379.6 kB / 0.9439 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007779/2.204, allocations: 240.5 kB / 0.9442 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005876/2.21, allocations: 8.69 MB / 0.9527 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001066/2.21, allocations: 132.6 kB / 0.9528 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02885/2.239, allocations: 33.63 MB / 0.9856 GB, free: 128 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007333/2.246, allocations: 2.008 MB / 0.9876 GB, free: 127.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004221/2.25, allocations: 239.7 kB / 0.9878 GB, free: 127.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008309/2.259, allocations: 0.5574 MB / 0.9884 GB, free: 127 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002452/2.261, allocations: 0.7218 MB / 0.9891 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001845/2.263, allocations: 313 kB / 0.9894 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01483/2.278, allocations: 5.949 MB / 0.9952 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.393e-06/2.278, allocations: 0 / 0.9952 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01674/2.295, allocations: 2.615 MB / 0.9977 GB, free: 124 MB / 0.5607 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003223/2.298, allocations: 494.4 kB / 0.9982 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01964/2.318, allocations: 10.28 MB / 1.008 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.282e-05/2.318, allocations: 12 kB / 1.008 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009661/2.327, allocations: 5.395 MB / 1.014 GB, free: 110.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01313/2.34, allocations: 1.362 MB / 1.015 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06296/2.404, allocations: 27.87 MB / 1.042 GB, free: 81.32 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02462/2.428, allocations: 7.95 MB / 1.05 GB, free: 73.34 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01557/2.444, allocations: 3.578 MB / 1.053 GB, free: 69.75 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004193/2.448, allocations: 0.5814 MB / 1.054 GB, free: 69.16 MB / 0.5607 GB Notification: Performance of SimCode: time 1.272e-06/2.448, allocations: 0 / 1.054 GB, free: 69.16 MB / 0.5607 GB Notification: Performance of Templates: time 0.4641/2.912, allocations: 95.24 MB / 1.147 GB, free: 159.4 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches