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.001276/0.001276, allocations: 116 kB / 18.46 MB, free: 4.562 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.001378/0.001378, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.54/1.54, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2515/0.2515, allocations: 46.93 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] 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.001911/0.001911, allocations: 63.91 kB / 0.4921 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.132, allocations: 66 MB / 0.5565 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009362/0.1414, allocations: 7.516 MB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.1459, allocations: 2.365 MB / 0.5662 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005393/0.1465, allocations: 27.94 kB / 0.5662 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003986/0.1505, allocations: 1.753 MB / 0.5679 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.1524, allocations: 0.7025 MB / 0.5686 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.154, allocations: 0.7399 MB / 0.5693 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1555, allocations: 1.253 MB / 0.5705 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.1567, allocations: 0.7153 MB / 0.5712 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000732/0.1574, allocations: 0.5292 MB / 0.5718 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007603/0.1582, allocations: 0.6614 MB / 0.5724 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.1583, allocations: 108 kB / 0.5725 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000639/0.159, allocations: 303.8 kB / 0.5728 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.1592, allocations: 267 kB / 0.573 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.1598, allocations: 0.6102 MB / 0.5736 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.1617, allocations: 1.615 MB / 0.5752 GB, free: 2.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1617, allocations: 0 / 0.5752 GB, free: 2.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1617, allocations: 0 / 0.5752 GB, free: 2.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.1617, allocations: 0 / 0.5752 GB, free: 2.059 MB / 430.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.004852/0.1666, allocations: 1.833 MB / 0.577 GB, free: 176 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1666, allocations: 8.031 kB / 0.577 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00976/0.1764, allocations: 1.268 MB / 0.5783 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.1775, allocations: 0.5726 MB / 0.5788 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.1776, allocations: 103 kB / 0.5789 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.1778, allocations: 140.1 kB / 0.579 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.1802, allocations: 1.245 MB / 0.5803 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.009e-05/0.1803, allocations: 4 kB / 0.5803 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.1804, allocations: 59.94 kB / 0.5803 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.1804, allocations: 32 kB / 0.5804 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.1831, allocations: 1.455 MB / 0.5818 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009032/0.1921, allocations: 5.811 MB / 0.5875 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.1942, allocations: 1.046 MB / 0.5885 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.1948, allocations: 334.6 kB / 0.5888 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.195, allocations: 195.1 kB / 0.589 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.195, allocations: 43.56 kB / 0.589 GB, free: 3.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 3.146e-06/0.195, allocations: 0 / 0.589 GB, free: 3.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002507/0.1975, allocations: 1.214 MB / 0.5902 GB, free: 1.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1976, allocations: 64.34 kB / 0.5903 GB, free: 1.875 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.1987, allocations: 0.8209 MB / 0.5911 GB, free: 1.039 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.1988, allocations: 41.7 kB / 0.5911 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.1992, allocations: 0.5117 MB / 0.5916 GB, free: 484 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.1995, allocations: 329.2 kB / 0.5919 GB, free: 152 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2523/0.4517, allocations: 201.5 kB / 0.5921 GB, free: 33.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4519, allocations: 401.3 kB / 0.5925 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007448/0.4526, allocations: 347.1 kB / 0.5928 GB, free: 33.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/0.4534, allocations: 0.6168 MB / 0.5934 GB, free: 33.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.4548, allocations: 0.9987 MB / 0.5944 GB, free: 32.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.4548, allocations: 2.5 kB / 0.5944 GB, free: 32.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002029/0.4569, allocations: 1.193 MB / 0.5956 GB, free: 32.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4569, allocations: 12.95 kB / 0.5956 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.4569, allocations: 13.52 kB / 0.5956 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.4572, allocations: 68.92 kB / 0.5957 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.4582, allocations: 260 kB / 0.5959 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.4597, allocations: 2.835 MB / 0.5987 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008533/0.4605, allocations: 155.3 kB / 0.5988 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.4606, allocations: 49.28 kB / 0.5989 GB, free: 30.08 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.0003413/0.4609, allocations: 262.5 kB / 0.5991 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.4611, allocations: 101.3 kB / 0.5992 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.463, allocations: 1.109 MB / 0.6003 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.463, allocations: 9.094 kB / 0.6003 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.463, allocations: 4.031 kB / 0.6003 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.463, allocations: 5.359 kB / 0.6003 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/0.4668, allocations: 3.165 MB / 0.6034 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.4668, allocations: 14.22 kB / 0.6034 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.4675, allocations: 183.2 kB / 0.6036 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/0.4678, allocations: 59.36 kB / 0.6037 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.4678, allocations: 27.03 kB / 0.6037 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.4693, allocations: 2.825 MB / 0.6064 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4693, allocations: 5.625 kB / 0.6064 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.4716, allocations: 1.481 MB / 0.6079 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.4718, allocations: 201.4 kB / 0.6081 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.472, allocations: 30.73 kB / 0.6081 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.4726, allocations: 52.2 kB / 0.6082 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.4728, allocations: 77.98 kB / 0.6082 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.4728, allocations: 41.05 kB / 0.6083 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006809/0.4735, allocations: 0.5797 MB / 0.6088 GB, free: 22.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4735, allocations: 0 / 0.6088 GB, free: 22.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001021/0.4745, allocations: 310.1 kB / 0.6091 GB, free: 22.93 MB / 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.0002402/0.4748, allocations: 168.2 kB / 0.6093 GB, free: 22.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.4766, allocations: 1.06 MB / 0.6103 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.4766, allocations: 1.688 kB / 0.6103 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.4775, allocations: 0.5956 MB / 0.6109 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.4783, allocations: 124.5 kB / 0.611 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.481, allocations: 1.902 MB / 0.6129 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.4815, allocations: 1.01 MB / 0.6139 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.4818, allocations: 109.5 kB / 0.614 GB, free: 19.98 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4818, allocations: 0 / 0.614 GB, free: 19.98 MB / 446.1 MB Notification: Performance of Templates: time 0.02516/0.507, allocations: 21.99 MB / 0.6355 GB, free: 8.758 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 9.562225109984865]