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.001076/0.001076, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001358/0.001358, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 18.57 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 0.9624/0.9624, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 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.1664/0.1664, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 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.[0-9,]+..re|v.[0-9,]+..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.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.826e-05, allocations: 6.25 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.0122/0.01222, allocations: 19.17 MB / 366.8 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009689/0.02191, allocations: 4.955 MB / 371.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003572/0.02548, allocations: 167.1 kB / 372 MB, free: 1.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009582/0.03506, allocations: 8.346 MB / 380.3 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006496/0.04155, allocations: 2.214 MB / 382.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.0444, allocations: 1.392 MB / 383.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.014/0.0584, allocations: 12.81 MB / 396.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02541/0.0838, allocations: 16.84 MB / 413.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01764/0.1014, allocations: 9.953 MB / 423.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/0.1152, allocations: 7.369 MB / 430.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006717/0.122, allocations: 1.734 MB / 432.6 MB, free: 4.062 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009449/0.1314, allocations: 1.937 MB / 434.6 MB, free: 2.125 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2123/0.3437, allocations: 3.867 MB / 438.4 MB, free: 45.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01574/0.3594, allocations: 4.837 MB / 443.3 MB, free: 45.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02598/0.3854, allocations: 12.15 MB / 455.4 MB, free: 44.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.3854, allocations: 0 / 455.4 MB, free: 44.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3854, allocations: 0 / 455.4 MB, free: 44.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001166/0.3866, allocations: 0 / 455.4 MB, free: 44.47 MB / 362.7 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.04751/0.4341, allocations: 16.06 MB / 471.5 MB, free: 37.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.004e-05/0.4342, allocations: 11.03 kB / 471.5 MB, free: 37.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04295/0.4771, allocations: 14.83 MB / 486.3 MB, free: 28.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/0.4936, allocations: 5.967 MB / 492.3 MB, free: 23.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009964/0.4946, allocations: 0.9028 MB / 493.2 MB, free: 22.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006459/0.501, allocations: 1.199 MB / 494.4 MB, free: 20.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04298/0.544, allocations: 8.617 MB / 0.4912 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008089/0.5448, allocations: 19.91 kB / 0.4912 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006674/0.5515, allocations: 0.4933 MB / 0.4917 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006842/0.5522, allocations: 0.6817 MB / 0.4924 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02959/0.5818, allocations: 6.461 MB / 0.4987 GB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1149/0.6967, allocations: 47.46 MB / 0.545 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/0.7115, allocations: 8.244 MB / 0.5531 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004711/0.7162, allocations: 1.617 MB / 0.5547 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004695/0.7167, allocations: 181.2 kB / 0.5548 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.795e-05/0.7168, allocations: 106.7 kB / 0.5549 GB, free: 11.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=674): time 1.489e-05/0.7168, allocations: 0 / 0.5549 GB, free: 11.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=674): time 0.01083/0.7276, allocations: 4.836 MB / 0.5597 GB, free: 6.969 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/0.7277, allocations: 120.7 kB / 0.5598 GB, free: 6.836 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008316/0.736, allocations: 3.671 MB / 0.5634 GB, free: 3.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001928/0.738, allocations: 137.7 kB / 0.5635 GB, free: 3.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004912/0.7429, allocations: 5.1 MB / 0.5685 GB, free: 13.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004178/0.7471, allocations: 2.464 MB / 0.5709 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003167/0.7502, allocations: 1.696 MB / 0.5725 GB, free: 9.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7504, allocations: 484.8 kB / 0.573 GB, free: 9.273 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/0.7532, allocations: 1.074 MB / 0.574 GB, free: 8.191 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005555/0.7587, allocations: 5.645 MB / 0.5796 GB, free: 0.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/0.7709, allocations: 7.525 MB / 0.5869 GB, free: 7.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/0.7711, allocations: 28 kB / 0.5869 GB, free: 7.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01844/0.7895, allocations: 6.292 MB / 0.5931 GB, free: 1.781 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.7896, allocations: 52.22 kB / 0.5931 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/0.7898, allocations: 100 kB / 0.5932 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.791, allocations: 429.6 kB / 0.5936 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2561/1.047, allocations: 2.099 MB / 0.5957 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/1.052, allocations: 10.91 MB / 0.6063 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006626/1.059, allocations: 1.072 MB / 0.6074 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001964/1.061, allocations: 401.2 kB / 0.6078 GB, free: 105.3 MB / 458.7 MB 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.005551/1.067, allocations: 0.7077 MB / 0.6084 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.068, allocations: 0.7012 MB / 0.6091 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009323/1.077, allocations: 6.402 MB / 0.6154 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.867e-05/1.077, allocations: 71.62 kB / 0.6155 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/1.077, allocations: 1.875 kB / 0.6155 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.421e-05/1.077, allocations: 35.5 kB / 0.6155 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06785/1.145, allocations: 24.58 MB / 0.6395 GB, free: 98.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001936/1.146, allocations: 87.75 kB / 0.6396 GB, free: 98.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004468/1.15, allocations: 1.572 MB / 0.6411 GB, free: 98.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/1.151, allocations: 396.3 kB / 0.6415 GB, free: 98.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001493/1.153, allocations: 256.3 kB / 0.6417 GB, free: 98.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004285/1.157, allocations: 10.78 MB / 0.6523 GB, free: 87.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.187e-05/1.157, allocations: 134.6 kB / 0.6524 GB, free: 87.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.173, allocations: 10.82 MB / 0.663 GB, free: 75.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004011/1.177, allocations: 1.382 MB / 0.6643 GB, free: 75.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.178, allocations: 247.1 kB / 0.6645 GB, free: 74.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003995/1.182, allocations: 0.5611 MB / 0.6651 GB, free: 74.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/1.183, allocations: 0.773 MB / 0.6658 GB, free: 74.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000545/1.183, allocations: 320.9 kB / 0.6661 GB, free: 73.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002835/1.186, allocations: 1.631 MB / 0.6677 GB, free: 73 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.186, allocations: 6.516 kB / 0.6677 GB, free: 73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01051/1.197, allocations: 3.008 MB / 0.6707 GB, free: 70.21 MB / 458.7 MB 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.001565/1.198, allocations: 498.5 kB / 0.6712 GB, free: 69.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01069/1.209, allocations: 5.768 MB / 0.6768 GB, free: 65.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.504e-05/1.209, allocations: 12 kB / 0.6768 GB, free: 65.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005115/1.214, allocations: 3.311 MB / 0.68 GB, free: 63.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/1.227, allocations: 1.314 MB / 0.6813 GB, free: 62.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04016/1.267, allocations: 21.7 MB / 0.7025 GB, free: 43.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006835/1.274, allocations: 3.461 MB / 0.7059 GB, free: 40.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006655/1.28, allocations: 2.716 MB / 0.7085 GB, free: 38.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/1.282, allocations: 0.4926 MB / 0.709 GB, free: 37.71 MB / 458.7 MB Notification: Performance of SimCode: time 4.098e-06/1.282, allocations: 0 / 0.709 GB, free: 37.71 MB / 458.7 MB Notification: Performance of Templates: time 0.2981/1.58, allocations: 79.72 MB / 0.7869 GB, free: 149.1 MB / 490.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/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.390258628875017]