Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.001681/0.001681, allocations: 79.75 kB / 20.52 MB, free: 1.117 MB / 14.72 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.00215/0.00215, allocations: 164.6 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2158/0.2158, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 75.89 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.139, allocations: 61.04 MB / 468.8 MB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.2821/0.4212, allocations: 17.06 MB / 485.9 MB, free: 41.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008902/0.4301, allocations: 4.861 MB / 490.7 MB, free: 38.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003413/0.4335, allocations: 166.8 kB / 490.9 MB, free: 38.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01684/0.4503, allocations: 7.671 MB / 498.6 MB, free: 34.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00997/0.4603, allocations: 2.176 MB / 0.489 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004472/0.4648, allocations: 1.38 MB / 0.4903 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01434/0.4791, allocations: 12.42 MB / 0.5025 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02798/0.5071, allocations: 16.78 MB / 0.5189 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/0.5196, allocations: 6.748 MB / 0.5255 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01743/0.537, allocations: 7.358 MB / 0.5326 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006544/0.5436, allocations: 1.734 MB / 0.5343 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008396/0.552, allocations: 1.914 MB / 0.5362 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00719/0.5592, allocations: 3.739 MB / 0.5399 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01635/0.5755, allocations: 5.727 MB / 0.5454 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03758/0.6131, allocations: 23.86 MB / 0.5687 GB, free: 7.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.6131, allocations: 0 / 0.5687 GB, free: 7.801 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6131, allocations: 0 / 0.5687 GB, free: 7.801 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006196/0.6137, allocations: 0 / 0.5687 GB, free: 7.801 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.04839/0.6621, allocations: 14.99 MB / 0.5834 GB, free: 8.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.6622, allocations: 12.03 kB / 0.5834 GB, free: 8.699 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07448/0.7366, allocations: 12.48 MB / 0.5956 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02084/0.7575, allocations: 6.766 MB / 0.6022 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/0.7587, allocations: 0.8954 MB / 0.6031 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005364/0.764, allocations: 1.191 MB / 0.6042 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08189/0.8459, allocations: 19.58 MB / 0.6234 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006305/0.8466, allocations: 15.94 kB / 0.6234 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005293/0.8519, allocations: 0.496 MB / 0.6239 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001445/0.8533, allocations: 0.6934 MB / 0.6245 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06205/0.9154, allocations: 19.73 MB / 0.6438 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6025/1.518, allocations: 52.81 MB / 0.6954 GB, free: 127.6 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01874/1.537, allocations: 11.44 MB / 0.7065 GB, free: 127.3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006804/1.543, allocations: 4.302 MB / 0.7107 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004633/1.544, allocations: 136.1 kB / 0.7109 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.219e-05/1.544, allocations: 109.2 kB / 0.711 GB, free: 126.8 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=674): time 9.918e-06/1.544, allocations: 0 / 0.711 GB, free: 126.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=674): time 0.02087/1.565, allocations: 11.86 MB / 0.7226 GB, free: 123 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/1.565, allocations: 119.8 kB / 0.7227 GB, free: 123 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006962/1.572, allocations: 3.952 MB / 0.7265 GB, free: 121.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001186/1.573, allocations: 140.4 kB / 0.7267 GB, free: 121.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003633/1.577, allocations: 4.814 MB / 0.7314 GB, free: 118.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002786/1.579, allocations: 2.377 MB / 0.7337 GB, free: 117.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002764/1.582, allocations: 1.513 MB / 0.7352 GB, free: 116.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/1.582, allocations: 305.1 kB / 0.7355 GB, free: 116.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007282/1.59, allocations: 4.194 MB / 0.7396 GB, free: 114.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008531/1.598, allocations: 7.237 MB / 0.7466 GB, free: 109.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/1.612, allocations: 12.4 MB / 0.7587 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/1.612, allocations: 29.78 kB / 0.7588 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01834/1.63, allocations: 12.18 MB / 0.7707 GB, free: 97.63 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.682e-05/1.63, allocations: 46.91 kB / 0.7707 GB, free: 97.63 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/1.63, allocations: 96.84 kB / 0.7708 GB, free: 97.63 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/1.631, allocations: 429.9 kB / 0.7712 GB, free: 97.52 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007247/1.638, allocations: 2.091 MB / 0.7732 GB, free: 97.33 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005162/1.643, allocations: 8.835 MB / 0.7819 GB, free: 89.47 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006002/1.649, allocations: 1.071 MB / 0.7829 GB, free: 88.92 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.651, allocations: 402.1 kB / 0.7833 GB, free: 88.86 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.007117/1.658, allocations: 4.656 MB / 0.7878 GB, free: 86.75 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/1.659, allocations: 0.4937 MB / 0.7883 GB, free: 86.48 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.673, allocations: 10.77 MB / 0.7988 GB, free: 79.5 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.895e-05/1.673, allocations: 68 kB / 0.7989 GB, free: 79.44 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/1.673, allocations: 14.73 kB / 0.7989 GB, free: 79.43 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.476e-05/1.673, allocations: 31.88 kB / 0.799 GB, free: 79.39 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4277/2.101, allocations: 152.2 MB / 0.9476 GB, free: 174.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002477/2.101, allocations: 88.34 kB / 0.9476 GB, free: 174.3 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006258/2.107, allocations: 1.58 MB / 0.9492 GB, free: 174.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009041/2.108, allocations: 387.1 kB / 0.9496 GB, free: 174 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001112/2.109, allocations: 255.8 kB / 0.9498 GB, free: 173.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/2.115, allocations: 8.692 MB / 0.9583 GB, free: 166.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.628e-05/2.115, allocations: 144.2 kB / 0.9584 GB, free: 166.2 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0248/2.14, allocations: 18.6 MB / 0.9766 GB, free: 155.2 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/2.144, allocations: 1.567 MB / 0.9781 GB, free: 154.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/2.145, allocations: 251.5 kB / 0.9784 GB, free: 154.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004564/2.149, allocations: 0.5598 MB / 0.9789 GB, free: 154.6 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001229/2.151, allocations: 0.7762 MB / 0.9797 GB, free: 154.3 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006286/2.151, allocations: 314.7 kB / 0.98 GB, free: 154.3 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.003677/2.155, allocations: 2.606 MB / 0.9825 GB, free: 153.4 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.11e-07/2.155, allocations: 1.469 kB / 0.9825 GB, free: 153.4 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.009574/2.165, allocations: 3.006 MB / 0.9854 GB, free: 152.8 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.001628/2.166, allocations: 0.4909 MB / 0.9859 GB, free: 152.4 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01429/2.18, allocations: 10.52 MB / 0.9962 GB, free: 148.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 0.0001236/2.181, allocations: 15.34 kB / 0.9962 GB, free: 148.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.007997/2.189, allocations: 5.329 MB / 1.001 GB, free: 146.3 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/2.199, allocations: 1.288 MB / 1.003 GB, free: 145.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/2.235, allocations: 24.82 MB / 1.027 GB, free: 124 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008766/2.244, allocations: 7.515 MB / 1.034 GB, free: 118.3 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.008031/2.252, allocations: 3.291 MB / 1.037 GB, free: 116 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/2.254, allocations: 0.4926 MB / 1.038 GB, free: 115.6 MB / 0.6232 GB Notification: Performance of SimCode: time 1.954e-06/2.254, allocations: 0 / 1.038 GB, free: 115.6 MB / 0.6232 GB Notification: Performance of Templates: time 0.1067/2.36, allocations: 76.29 MB / 1.112 GB, free: 39.35 MB / 0.6232 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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: 10.182227646000683]