Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2293/0.2293, allocations: 46.89 MB / 358.1 MB, free: 10.59 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 83.86 kB / 0.4924 GB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1396, allocations: 65.99 MB / 0.5568 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009228/0.1488, allocations: 7.519 MB / 0.5642 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.1541, allocations: 2.369 MB / 0.5665 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.1552, allocations: 23.94 kB / 0.5665 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004261/0.1594, allocations: 1.753 MB / 0.5682 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.162, allocations: 0.7028 MB / 0.5689 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1638, allocations: 0.7536 MB / 0.5696 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001959/0.1658, allocations: 1.253 MB / 0.5708 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.167, allocations: 0.7192 MB / 0.5715 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007934/0.1678, allocations: 0.5098 MB / 0.572 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007786/0.1686, allocations: 0.6574 MB / 0.5727 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.1687, allocations: 104 kB / 0.5728 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007575/0.1695, allocations: 303.8 kB / 0.5731 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.1697, allocations: 274.9 kB / 0.5733 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.1703, allocations: 0.6064 MB / 0.5739 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.1724, allocations: 1.607 MB / 0.5755 GB, free: 2.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1724, allocations: 4 kB / 0.5755 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1724, allocations: 0 / 0.5755 GB, free: 2.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.1724, allocations: 0 / 0.5755 GB, free: 2.707 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.004621/0.177, allocations: 1.833 MB / 0.5773 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.177, allocations: 12.02 kB / 0.5773 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009416/0.1865, allocations: 1.272 MB / 0.5785 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.1878, allocations: 0.5648 MB / 0.5791 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.1879, allocations: 103 kB / 0.5792 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.1881, allocations: 140.1 kB / 0.5793 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.1906, allocations: 1.249 MB / 0.5806 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.1906, allocations: 3.938 kB / 0.5806 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.1908, allocations: 52 kB / 0.5806 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.1908, allocations: 32 kB / 0.5806 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.1933, allocations: 1.459 MB / 0.5821 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00898/0.2023, allocations: 5.807 MB / 0.5877 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.2043, allocations: 1.048 MB / 0.5888 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006055/0.2049, allocations: 336.2 kB / 0.5891 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.2051, allocations: 191.2 kB / 0.5893 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.2051, allocations: 43.55 kB / 0.5893 GB, free: 3.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 3.015e-06/0.2051, allocations: 0 / 0.5893 GB, free: 3.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002486/0.2076, allocations: 1.211 MB / 0.5905 GB, free: 2.605 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.2077, allocations: 60.41 kB / 0.5905 GB, free: 2.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.2088, allocations: 0.8325 MB / 0.5914 GB, free: 1.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.2089, allocations: 41.7 kB / 0.5914 GB, free: 1.641 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.2093, allocations: 0.5078 MB / 0.5919 GB, free: 1.125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.2095, allocations: 333.2 kB / 0.5922 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.2099, allocations: 210.8 kB / 0.5924 GB, free: 0.582 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.2101, allocations: 406.6 kB / 0.5928 GB, free: 180 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3016/0.5117, allocations: 340.5 kB / 0.5931 GB, free: 34.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009408/0.5126, allocations: 0.6167 MB / 0.5937 GB, free: 33.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.5141, allocations: 0.9954 MB / 0.5947 GB, free: 33.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.5142, allocations: 5.719 kB / 0.5947 GB, free: 33.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002364/0.5165, allocations: 1.194 MB / 0.5959 GB, free: 33.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.5166, allocations: 13.56 kB / 0.5959 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.5166, allocations: 7.406 kB / 0.5959 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/0.5169, allocations: 64.28 kB / 0.5959 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.5179, allocations: 262.8 kB / 0.5962 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.5197, allocations: 2.825 MB / 0.599 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.5206, allocations: 162.2 kB / 0.5991 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.5207, allocations: 48.86 kB / 0.5992 GB, free: 30.73 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.0003753/0.5211, allocations: 260.6 kB / 0.5994 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.5212, allocations: 97.06 kB / 0.5995 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.5233, allocations: 1.11 MB / 0.6006 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5233, allocations: 9.406 kB / 0.6006 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5233, allocations: 1.094 kB / 0.6006 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.5233, allocations: 4.734 kB / 0.6006 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.5273, allocations: 3.173 MB / 0.6037 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5273, allocations: 5.625 kB / 0.6037 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007655/0.528, allocations: 183.5 kB / 0.6039 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.5283, allocations: 59.42 kB / 0.6039 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.5283, allocations: 27.48 kB / 0.604 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.53, allocations: 2.833 MB / 0.6067 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.53, allocations: 6.719 kB / 0.6067 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.5326, allocations: 1.482 MB / 0.6082 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.5329, allocations: 198.8 kB / 0.6084 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.533, allocations: 24.64 kB / 0.6084 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.5337, allocations: 53.2 kB / 0.6084 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.5338, allocations: 89.02 kB / 0.6085 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.5339, allocations: 37.28 kB / 0.6086 GB, free: 23.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008551/0.5348, allocations: 0.5784 MB / 0.6091 GB, free: 23.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5348, allocations: 0 / 0.6091 GB, free: 23.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001163/0.5359, allocations: 309.3 kB / 0.6094 GB, free: 23.57 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.0003097/0.5362, allocations: 171.3 kB / 0.6096 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.5385, allocations: 1.054 MB / 0.6106 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.5385, allocations: 1.469 kB / 0.6106 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008819/0.5394, allocations: 0.5987 MB / 0.6112 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.5402, allocations: 123 kB / 0.6113 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.5434, allocations: 1.899 MB / 0.6132 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.5441, allocations: 1.011 MB / 0.6142 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.5444, allocations: 105.8 kB / 0.6143 GB, free: 20.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5444, allocations: 0 / 0.6143 GB, free: 20.63 MB / 446.1 MB Notification: Performance of Templates: time 0.03069/0.5751, allocations: 21.99 MB / 0.6357 GB, free: 9.441 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.865483473055065]