Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001725/0.001725, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.0023/0.0023, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 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.6/1.6, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2559/0.2559, allocations: 46.94 MB / 360.8 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00367/0.00367, allocations: 59.91 kB / 0.4966 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4354, allocations: 66.04 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01007/0.4455, allocations: 7.548 MB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005282/0.4507, allocations: 2.383 MB / 0.5708 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008992/0.4516, allocations: 27.94 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004331/0.456, allocations: 1.749 MB / 0.5726 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.4586, allocations: 0.7104 MB / 0.5733 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.4604, allocations: 0.7438 MB / 0.574 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.4623, allocations: 1.257 MB / 0.5752 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.4637, allocations: 0.8708 MB / 0.5761 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.4645, allocations: 0.5176 MB / 0.5766 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008447/0.4654, allocations: 0.6691 MB / 0.5772 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.4655, allocations: 108 kB / 0.5773 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.4663, allocations: 299.8 kB / 0.5776 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.4665, allocations: 275 kB / 0.5779 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.4671, allocations: 0.6024 MB / 0.5785 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.4693, allocations: 1.618 MB / 0.58 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4693, allocations: 0 / 0.58 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4693, allocations: 4 kB / 0.5801 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.4693, allocations: 0 / 0.5801 GB, free: 0.9336 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004562/0.4739, allocations: 1.75 MB / 0.5818 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4739, allocations: 8.031 kB / 0.5818 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009021/0.4829, allocations: 1.28 MB / 0.583 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.4847, allocations: 0.5079 MB / 0.5835 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.4848, allocations: 99.03 kB / 0.5836 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.4852, allocations: 140.1 kB / 0.5837 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.4887, allocations: 1.242 MB / 0.585 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.4888, allocations: 4 kB / 0.585 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.4889, allocations: 55.94 kB / 0.585 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.4889, allocations: 32 kB / 0.585 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/0.4919, allocations: 1.467 MB / 0.5865 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009483/0.5014, allocations: 4.19 MB / 0.5906 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.5033, allocations: 0.8335 MB / 0.5914 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.504, allocations: 332.2 kB / 0.5917 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.5041, allocations: 40.94 kB / 0.5917 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.5042, allocations: 43.56 kB / 0.5918 GB, free: 4.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.366e-06/0.5042, allocations: 0 / 0.5918 GB, free: 4.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002431/0.5066, allocations: 1.06 MB / 0.5928 GB, free: 3.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.5066, allocations: 60.41 kB / 0.5929 GB, free: 3.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5079, allocations: 0.817 MB / 0.5937 GB, free: 2.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.877e-05/0.508, allocations: 41.7 kB / 0.5937 GB, free: 2.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.5085, allocations: 0.5234 MB / 0.5942 GB, free: 2.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.5088, allocations: 321.3 kB / 0.5945 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.5091, allocations: 198.8 kB / 0.5947 GB, free: 1.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.5094, allocations: 406.7 kB / 0.5951 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.5101, allocations: 350.4 kB / 0.5954 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009441/0.511, allocations: 0.627 MB / 0.596 GB, free: 156 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.5128, allocations: 0.9876 MB / 0.597 GB, free: 15.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.5128, allocations: 4 kB / 0.597 GB, free: 15.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002601/0.5154, allocations: 1.194 MB / 0.5982 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.5154, allocations: 11.94 kB / 0.5982 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.5155, allocations: 12 kB / 0.5982 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/0.5158, allocations: 65.67 kB / 0.5983 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5169, allocations: 267.8 kB / 0.5985 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.5196, allocations: 2.621 MB / 0.6011 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5206, allocations: 150.8 kB / 0.6012 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.5207, allocations: 55.98 kB / 0.6013 GB, free: 10.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0005037/0.5213, allocations: 259.2 kB / 0.6015 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.5215, allocations: 103.3 kB / 0.6016 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.5238, allocations: 1.107 MB / 0.6027 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5238, allocations: 8 kB / 0.6027 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.5238, allocations: 4 kB / 0.6027 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5238, allocations: 3.984 kB / 0.6027 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.5284, allocations: 2.403 MB / 0.6051 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.5285, allocations: 11.94 kB / 0.6051 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.5292, allocations: 179.7 kB / 0.6053 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/0.5295, allocations: 61.67 kB / 0.6053 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/0.5296, allocations: 27.98 kB / 0.6053 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.532, allocations: 2.614 MB / 0.6079 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.892e-05/0.5321, allocations: 11.94 kB / 0.6079 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.5347, allocations: 1.482 MB / 0.6093 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.5351, allocations: 119.2 kB / 0.6095 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.5353, allocations: 35.88 kB / 0.6095 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/0.5361, allocations: 56.03 kB / 0.6095 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.5362, allocations: 92.28 kB / 0.6096 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.5363, allocations: 32 kB / 0.6097 GB, free: 1.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009733/0.5373, allocations: 0.581 MB / 0.6102 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5373, allocations: 0 / 0.6102 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001235/0.5385, allocations: 311.6 kB / 0.6105 GB, free: 460 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003537/0.5389, allocations: 170.9 kB / 0.6107 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.5412, allocations: 1.047 MB / 0.6117 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.5412, allocations: 4 kB / 0.6117 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.5423, allocations: 0.5931 MB / 0.6123 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/0.5431, allocations: 119.2 kB / 0.6124 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.547, allocations: 1.869 MB / 0.6142 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008832/0.5478, allocations: 1.008 MB / 0.6152 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006533/0.5485, allocations: 159.7 kB / 0.6154 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.5488, allocations: 87.42 kB / 0.6155 GB, free: 11.2 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5488, allocations: 0 / 0.6155 GB, free: 11.2 MB / 462.1 MB Notification: Performance of Templates: time 0.02441/0.5732, allocations: 11.64 MB / 0.6268 GB, free: 15.62 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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: 6.173660268075764]