Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 192.5 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2974/0.2974, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 495.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.431, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02373/0.4547, allocations: 19.86 MB / 0.5658 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.4689, allocations: 4.935 MB / 0.5706 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005516/0.4744, allocations: 159.5 kB / 0.5707 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01948/0.4938, allocations: 7.832 MB / 0.5784 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00939/0.5032, allocations: 2.23 MB / 0.5806 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004866/0.5081, allocations: 1.259 MB / 0.5818 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01762/0.5257, allocations: 12.14 MB / 0.5937 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03332/0.559, allocations: 15.78 MB / 0.6091 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01219/0.5712, allocations: 6.542 MB / 0.6155 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01509/0.5863, allocations: 7.28 MB / 0.6226 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007267/0.5936, allocations: 1.723 MB / 0.6243 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.6049, allocations: 1.91 MB / 0.6261 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009516/0.6144, allocations: 3.666 MB / 0.6297 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02084/0.6352, allocations: 7.003 MB / 0.6365 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03949/0.6747, allocations: 23.68 MB / 0.6597 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6747, allocations: 4 kB / 0.6597 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6747, allocations: 0 / 0.6597 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008962/0.6756, allocations: 0 / 0.6597 GB, free: 11.33 MB / 0.4981 GB 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.05142/0.727, allocations: 14.81 MB / 0.6741 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.7271, allocations: 12.03 kB / 0.6742 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06243/0.7895, allocations: 11.49 MB / 0.6854 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/0.8076, allocations: 7.344 MB / 0.6925 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001215/0.8088, allocations: 0.8832 MB / 0.6934 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006051/0.8149, allocations: 1.168 MB / 0.6946 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05358/0.8684, allocations: 18.57 MB / 0.7127 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005747/0.869, allocations: 15.95 kB / 0.7127 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004316/0.8733, allocations: 495.9 kB / 0.7132 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008512/0.8742, allocations: 0.6577 MB / 0.7138 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04312/0.9173, allocations: 19.08 MB / 0.7324 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7634/1.681, allocations: 60.14 MB / 0.7912 GB, free: 105.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/1.701, allocations: 16.08 MB / 0.8069 GB, free: 88.86 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007224/1.709, allocations: 4.208 MB / 0.811 GB, free: 84.62 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/1.709, allocations: 242.2 kB / 0.8112 GB, free: 84.39 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/1.709, allocations: 107.6 kB / 0.8113 GB, free: 84.27 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.461e-05/1.71, allocations: 0 / 0.8113 GB, free: 84.27 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02162/1.731, allocations: 12.39 MB / 0.8234 GB, free: 71.68 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/1.731, allocations: 116.5 kB / 0.8235 GB, free: 71.55 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01854/1.75, allocations: 8.613 MB / 0.8319 GB, free: 63 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/1.751, allocations: 133.7 kB / 0.8321 GB, free: 62.86 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00471/1.756, allocations: 4.608 MB / 0.8366 GB, free: 58.79 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003091/1.759, allocations: 2.301 MB / 0.8388 GB, free: 56.54 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004838/1.764, allocations: 1.435 MB / 0.8402 GB, free: 55.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/1.764, allocations: 309.1 kB / 0.8405 GB, free: 54.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006189/1.77, allocations: 4.102 MB / 0.8445 GB, free: 50.69 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007376/1.778, allocations: 6.905 MB / 0.8513 GB, free: 42.52 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/1.791, allocations: 11.93 MB / 0.8629 GB, free: 29.23 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/1.791, allocations: 31.94 kB / 0.8629 GB, free: 29.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02129/1.813, allocations: 12.04 MB / 0.8747 GB, free: 17.05 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.813, allocations: 44 kB / 0.8747 GB, free: 17.01 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.813, allocations: 92.53 kB / 0.8748 GB, free: 16.92 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.814, allocations: 408.9 kB / 0.8752 GB, free: 16.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007176/1.821, allocations: 2.005 MB / 0.8772 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/1.827, allocations: 9.577 MB / 0.8865 GB, free: 4.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009475/1.836, allocations: 1.397 MB / 0.8879 GB, free: 2.664 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002137/1.839, allocations: 379.9 kB / 0.8883 GB, free: 2.293 MB / 0.5607 GB 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.01231/1.851, allocations: 4.584 MB / 0.8927 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003031/1.854, allocations: 0.7374 MB / 0.8935 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0285/1.882, allocations: 10.6 MB / 0.9038 GB, free: 2.246 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.726e-05/1.882, allocations: 71.94 kB / 0.9039 GB, free: 2.176 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-05/1.882, allocations: 3.938 kB / 0.9039 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001707/1.883, allocations: 31.88 kB / 0.9039 GB, free: 2.141 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5753/2.458, allocations: 156.5 MB / 1.057 GB, free: 173.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005397/2.459, allocations: 88 kB / 1.057 GB, free: 173.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006331/2.465, allocations: 1.54 MB / 1.058 GB, free: 171.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/2.466, allocations: 388.2 kB / 1.059 GB, free: 171.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001689/2.468, allocations: 244 kB / 1.059 GB, free: 171.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006148/2.474, allocations: 9.465 MB / 1.068 GB, free: 161.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.273e-05/2.474, allocations: 131.4 kB / 1.068 GB, free: 161 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02885/2.503, allocations: 18.57 MB / 1.086 GB, free: 140.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00634/2.509, allocations: 2.046 MB / 1.088 GB, free: 139 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003903/2.513, allocations: 248 kB / 1.089 GB, free: 138.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008089/2.521, allocations: 0.5579 MB / 1.089 GB, free: 138.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00254/2.524, allocations: 0.7224 MB / 1.09 GB, free: 137.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002018/2.526, allocations: 312 kB / 1.09 GB, free: 137.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01397/2.54, allocations: 6.044 MB / 1.096 GB, free: 131.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/2.54, allocations: 4 kB / 1.096 GB, free: 131.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01414/2.554, allocations: 2.639 MB / 1.099 GB, free: 128.7 MB / 0.6544 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 (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.00291/2.557, allocations: 0.49 MB / 1.099 GB, free: 128.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01893/2.576, allocations: 10.29 MB / 1.109 GB, free: 117.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.595e-05/2.576, allocations: 16 kB / 1.109 GB, free: 117.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009655/2.585, allocations: 5.267 MB / 1.114 GB, free: 112.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01965/2.605, allocations: 1.487 MB / 1.116 GB, free: 111.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05706/2.662, allocations: 25.09 MB / 1.14 GB, free: 84.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01155/2.674, allocations: 7.777 MB / 1.148 GB, free: 76.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.009673/2.683, allocations: 3.558 MB / 1.151 GB, free: 73.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002665/2.686, allocations: 0.5814 MB / 1.152 GB, free: 72.79 MB / 0.6544 GB Notification: Performance of SimCode: time 1.403e-06/2.686, allocations: 0 / 1.152 GB, free: 72.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.5421/3.228, allocations: 96.39 MB / 1.246 GB, free: 215.8 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.327977740205824]