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.001492/0.001492, allocations: 105 kB / 20.44 MB, free: 1.504 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.00164/0.00164, allocations: 221.4 kB / 23.76 MB, free: 4.723 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.307/1.307, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] 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.1951/0.1951, allocations: 44.24 MB / 331 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.002051/0.002051, allocations: 78.86 kB / 468.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1018, allocations: 61.04 MB / 0.5174 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02184/0.1236, allocations: 20.02 MB / 0.5369 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1907/0.3144, allocations: 4.95 MB / 0.5418 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.3175, allocations: 164.9 kB / 0.5419 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01435/0.3318, allocations: 7.876 MB / 0.5496 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.3386, allocations: 2.189 MB / 0.5517 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.3423, allocations: 1.444 MB / 0.5532 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.3558, allocations: 12.42 MB / 0.5653 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03033/0.3862, allocations: 17.23 MB / 0.5821 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.3967, allocations: 6.743 MB / 0.5887 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0128/0.4095, allocations: 7.42 MB / 0.5959 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004985/0.4145, allocations: 1.734 MB / 0.5976 GB, free: 384 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007205/0.4217, allocations: 1.926 MB / 0.5995 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006343/0.428, allocations: 3.735 MB / 0.6032 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01318/0.4412, allocations: 7.106 MB / 0.6101 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02898/0.4702, allocations: 23.75 MB / 0.6333 GB, free: 12.44 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4702, allocations: 0 / 0.6333 GB, free: 12.44 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4702, allocations: 0 / 0.6333 GB, free: 12.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005686/0.4708, allocations: 7.938 kB / 0.6333 GB, free: 12.43 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.03969/0.5104, allocations: 14.99 MB / 0.6479 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5105, allocations: 8.031 kB / 0.6479 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06275/0.5732, allocations: 12.48 MB / 0.6601 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.5879, allocations: 6.771 MB / 0.6667 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009389/0.5889, allocations: 0.9059 MB / 0.6676 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004172/0.593, allocations: 1.187 MB / 0.6688 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/0.634, allocations: 19.05 MB / 0.6874 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004751/0.6344, allocations: 23.89 kB / 0.6874 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003219/0.6377, allocations: 0.4902 MB / 0.6879 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007458/0.6384, allocations: 0.6856 MB / 0.6886 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03786/0.6763, allocations: 19.83 MB / 0.7079 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/0.7836, allocations: 60.65 MB / 0.7672 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2234/1.007, allocations: 11.51 MB / 0.7784 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006744/1.014, allocations: 4.304 MB / 0.7826 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/1.014, allocations: 166.6 kB / 0.7828 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/1.014, allocations: 107.6 kB / 0.7829 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 7.995e-06/1.014, allocations: 3.266 kB / 0.7829 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.0176/1.032, allocations: 12.14 MB / 0.7947 GB, free: 149.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/1.032, allocations: 120.5 kB / 0.7948 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.043, allocations: 8.725 MB / 0.8033 GB, free: 147 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008517/1.043, allocations: 135.5 kB / 0.8035 GB, free: 146.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.046, allocations: 4.728 MB / 0.8081 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001602/1.047, allocations: 2.385 MB / 0.8104 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/1.049, allocations: 1.514 MB / 0.8119 GB, free: 141 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.705e-05/1.049, allocations: 303.7 kB / 0.8122 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005039/1.054, allocations: 4.194 MB / 0.8163 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/1.06, allocations: 7.228 MB / 0.8233 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.071, allocations: 12.41 MB / 0.8355 GB, free: 126.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.783e-05/1.071, allocations: 27.16 kB / 0.8355 GB, free: 126.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01549/1.086, allocations: 12.44 MB / 0.8476 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/1.086, allocations: 48 kB / 0.8477 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/1.086, allocations: 100 kB / 0.8478 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/1.087, allocations: 423.3 kB / 0.8482 GB, free: 119.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005899/1.093, allocations: 2.092 MB / 0.8502 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004341/1.097, allocations: 9 MB / 0.859 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005503/1.103, allocations: 1.427 MB / 0.8604 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006642/1.104, allocations: 400 kB / 0.8608 GB, free: 106.7 MB / 0.5919 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.005188/1.109, allocations: 4.667 MB / 0.8653 GB, free: 102.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000906/1.11, allocations: 0.749 MB / 0.8661 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.122, allocations: 11.05 MB / 0.8769 GB, free: 90.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/1.122, allocations: 68 kB / 0.8769 GB, free: 90.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.122, allocations: 0 / 0.8769 GB, free: 90.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.615e-05/1.122, allocations: 35.86 kB / 0.877 GB, free: 90.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.354/1.476, allocations: 154.7 MB / 1.028 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002009/1.476, allocations: 87.16 kB / 1.028 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005189/1.482, allocations: 1.575 MB / 1.03 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007874/1.482, allocations: 388 kB / 1.03 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005761/1.483, allocations: 249.1 kB / 1.03 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/1.488, allocations: 8.854 MB / 1.039 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.307e-05/1.488, allocations: 141.8 kB / 1.039 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/1.507, allocations: 18.89 MB / 1.057 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004745/1.512, allocations: 2.085 MB / 1.06 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/1.513, allocations: 252.8 kB / 1.06 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004618/1.518, allocations: 0.5631 MB / 1.06 GB, free: 179 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009422/1.519, allocations: 0.7731 MB / 1.061 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004564/1.519, allocations: 316.3 kB / 1.061 GB, free: 178.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007786/1.527, allocations: 6.117 MB / 1.067 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/1.527, allocations: 0 / 1.067 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008004/1.535, allocations: 2.699 MB / 1.07 GB, free: 175.9 MB / 0.6387 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.001113/1.536, allocations: 0.4909 MB / 1.07 GB, free: 175.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.547, allocations: 10.52 MB / 1.081 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.494e-05/1.548, allocations: 12.19 kB / 1.081 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006047/1.554, allocations: 5.33 MB / 1.086 GB, free: 169.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008368/1.562, allocations: 1.505 MB / 1.087 GB, free: 168.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/1.593, allocations: 25.2 MB / 1.112 GB, free: 147.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005711/1.599, allocations: 7.623 MB / 1.119 GB, free: 141.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/1.601, allocations: 0.6517 MB / 1.12 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.232e-06/1.601, allocations: 4 kB / 1.12 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.8182/2.42, allocations: 0.5446 GB / 1.665 GB, free: 87.21 MB / 0.6544 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 -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: 18.58265181700699]