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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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.1563/0.1563, allocations: 32.79 MB / 295.4 MB, free: 15.42 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 377.3 MB, free: 25.63 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.812e-05, allocations: 2.312 kB / 377.3 MB, free: 25.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01193/0.01196, allocations: 18.39 MB / 395.7 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.02248, allocations: 4.947 MB / 400.6 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004684/0.02716, allocations: 198.9 kB / 400.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.038, allocations: 8.069 MB / 408.9 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008519/0.04652, allocations: 2.144 MB / 411 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.05092, allocations: 1.379 MB / 412.4 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01485/0.06577, allocations: 12.63 MB / 425 MB, free: 9.672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02818/0.09395, allocations: 16.79 MB / 441.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02431/0.1183, allocations: 9.825 MB / 451.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01407/0.1323, allocations: 7.275 MB / 458.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003937/0.1363, allocations: 1.723 MB / 460.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005254/0.1415, allocations: 1.925 MB / 462.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003385/0.1449, allocations: 3.795 MB / 466.3 MB, free: 104 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007466/0.1524, allocations: 4.768 MB / 471.1 MB, free: 11.32 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.1639, allocations: 12 MB / 483.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1639, allocations: 3.938 kB / 483.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1639, allocations: 0 / 483.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003677/0.1643, allocations: 0 / 483.1 MB, free: 15.28 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.3312/0.4955, allocations: 15.23 MB / 498.3 MB, free: 81.11 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4955, allocations: 13.61 kB / 498.4 MB, free: 81.1 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02968/0.5252, allocations: 9.284 MB / 0.4957 GB, free: 80.47 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009632/0.5349, allocations: 6.252 MB / 0.5019 GB, free: 79.96 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.5353, allocations: 0.8883 MB / 0.5027 GB, free: 79.93 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.5368, allocations: 1.189 MB / 0.5039 GB, free: 79.92 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009148/0.5459, allocations: 7.446 MB / 0.5112 GB, free: 76.33 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.5461, allocations: 15.61 kB / 0.5112 GB, free: 76.32 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007554/0.5468, allocations: 0.4895 MB / 0.5116 GB, free: 75.84 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004005/0.5472, allocations: 0.6539 MB / 0.5123 GB, free: 75.18 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006678/0.5539, allocations: 4.851 MB / 0.517 GB, free: 70.3 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04385/0.5978, allocations: 44.9 MB / 0.5609 GB, free: 27.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005703/0.6035, allocations: 6.302 MB / 0.567 GB, free: 21.63 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.6049, allocations: 1.348 MB / 0.5683 GB, free: 20.3 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.6052, allocations: 224.9 kB / 0.5686 GB, free: 20.07 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.6052, allocations: 106.5 kB / 0.5687 GB, free: 19.96 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 7.524e-06/0.6052, allocations: 4 kB / 0.5687 GB, free: 19.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.005441/0.6106, allocations: 4.059 MB / 0.5726 GB, free: 15.81 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.6107, allocations: 120.5 kB / 0.5727 GB, free: 15.68 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.6139, allocations: 3.491 MB / 0.5761 GB, free: 12.73 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002544/0.6142, allocations: 133.7 kB / 0.5763 GB, free: 12.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.6158, allocations: 5.01 MB / 0.5812 GB, free: 7.863 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.6169, allocations: 2.394 MB / 0.5835 GB, free: 5.598 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.6183, allocations: 1.68 MB / 0.5851 GB, free: 4.059 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.6184, allocations: 480.7 kB / 0.5856 GB, free: 3.586 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.6195, allocations: 0.8111 MB / 0.5864 GB, free: 2.773 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.6226, allocations: 5.073 MB / 0.5914 GB, free: 12.18 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/0.6288, allocations: 6.705 MB / 0.5979 GB, free: 4.207 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.449e-05/0.6288, allocations: 32 kB / 0.5979 GB, free: 4.176 MB / 426.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.007927/0.6367, allocations: 5.489 MB / 0.6033 GB, free: 15.16 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/0.6368, allocations: 44 kB / 0.6033 GB, free: 15.12 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.6369, allocations: 88 kB / 0.6034 GB, free: 15.04 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007426/0.6377, allocations: 397.6 kB / 0.6038 GB, free: 14.63 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.6411, allocations: 1.765 MB / 0.6055 GB, free: 12.99 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.6462, allocations: 10.62 MB / 0.6159 GB, free: 1.805 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/0.6492, allocations: 0.7367 MB / 0.6166 GB, free: 1.062 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003932/0.6496, allocations: 327.9 kB / 0.6169 GB, free: 0.7422 MB / 442.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.002776/0.6524, allocations: 0.6826 MB / 0.6176 GB, free: 180 kB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008811/0.6533, allocations: 0.6771 MB / 0.6183 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006743/0.66, allocations: 5.501 MB / 0.6236 GB, free: 10.23 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.6601, allocations: 71.94 kB / 0.6237 GB, free: 10.16 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6601, allocations: 0 / 0.6237 GB, free: 10.16 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/0.6601, allocations: 35.88 kB / 0.6237 GB, free: 10.12 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04496/0.7051, allocations: 23.44 MB / 0.6466 GB, free: 2.961 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.558e-05/0.7051, allocations: 88 kB / 0.6467 GB, free: 2.875 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/0.708, allocations: 1.323 MB / 0.648 GB, free: 1.656 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007848/0.7088, allocations: 382 kB / 0.6484 GB, free: 1.262 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003156/0.7091, allocations: 251.9 kB / 0.6486 GB, free: 1.016 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/0.7141, allocations: 10.61 MB / 0.659 GB, free: 5.848 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.945e-05/0.7142, allocations: 134.3 kB / 0.6591 GB, free: 5.754 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2241/0.9383, allocations: 9.967 MB / 0.6688 GB, free: 113.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003371/0.9417, allocations: 1.234 MB / 0.67 GB, free: 113.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/0.9428, allocations: 241.9 kB / 0.6703 GB, free: 113.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/0.9458, allocations: 273.6 kB / 0.6705 GB, free: 113.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009352/0.9467, allocations: 0.7674 MB / 0.6713 GB, free: 113.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004955/0.9472, allocations: 270.9 kB / 0.6715 GB, free: 113.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001937/0.9491, allocations: 1.483 MB / 0.673 GB, free: 113 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.3e-07/0.9491, allocations: 1.688 kB / 0.673 GB, free: 113 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009418/0.9586, allocations: 2.949 MB / 0.6759 GB, free: 112.8 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.002211/0.9608, allocations: 0.4896 MB / 0.6763 GB, free: 112.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01046/0.9712, allocations: 5.198 MB / 0.6814 GB, free: 111.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001303/0.9714, allocations: 12.81 kB / 0.6814 GB, free: 111.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005037/0.9764, allocations: 3.126 MB / 0.6845 GB, free: 110.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007148/0.9835, allocations: 1.304 MB / 0.6857 GB, free: 110.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0313/1.015, allocations: 20.78 MB / 0.706 GB, free: 99.92 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00433/1.019, allocations: 3.399 MB / 0.7094 GB, free: 99.6 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003716/1.023, allocations: 0.9172 MB / 0.7103 GB, free: 99.36 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002522/1.025, allocations: 1.382 MB / 0.7116 GB, free: 98.52 MB / 490.8 MB Notification: Performance of SimCode: time 2.054e-06/1.025, allocations: 4 kB / 0.7116 GB, free: 98.52 MB / 490.8 MB Notification: Performance of Templates: time 0.1016/1.127, allocations: 85.34 MB / 0.795 GB, free: 20.33 MB / 490.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",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.77833606582135]