Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001138, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 183.6 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4802/0.4802, allocations: 43.57 MB / 315 MB, free: 9.004 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005483, allocations: 16.61 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1537, allocations: 58.88 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00806/0.1618, allocations: 6.374 MB / 449.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.1672, allocations: 2.136 MB / 452 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.1686, allocations: 23.94 kB / 452 MB, free: 4.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.1703, allocations: 322.5 kB / 452.3 MB, free: 4.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.1741, allocations: 0.7817 MB / 453.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.176, allocations: 0.53 MB / 453.6 MB, free: 2.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002688/0.1787, allocations: 1.132 MB / 454.7 MB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.1822, allocations: 1.427 MB / 456.2 MB, free: 108 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2768/0.459, allocations: 420.3 kB / 456.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/0.4599, allocations: 0.5583 MB / 457.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.46, allocations: 47.47 kB / 457.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00085/0.4609, allocations: 227.2 kB / 457.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.4611, allocations: 200.5 kB / 457.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.4616, allocations: 0.5315 MB / 458.1 MB, free: 36.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.4631, allocations: 1.391 MB / 459.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4631, allocations: 1.094 kB / 459.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4631, allocations: 3 kB / 459.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4631, allocations: 0 / 459.5 MB, free: 36.35 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003589/0.4667, allocations: 1.479 MB / 461 MB, free: 35.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4668, allocations: 7.625 kB / 461 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009728/0.4765, allocations: 1.439 MB / 462.5 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4777, allocations: 0.5421 MB / 463 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.4778, allocations: 92.14 kB / 463.1 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.478, allocations: 133.6 kB / 463.2 MB, free: 35.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.4801, allocations: 1.19 MB / 464.4 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.4801, allocations: 0 / 464.4 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.4803, allocations: 50.16 kB / 464.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.4803, allocations: 29.22 kB / 464.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.4824, allocations: 1.451 MB / 465.9 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006447/0.4889, allocations: 4.875 MB / 470.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.4906, allocations: 1.197 MB / 472 MB, free: 32.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.4911, allocations: 382.1 kB / 472.4 MB, free: 32.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.779e-05/0.4912, allocations: 102.8 kB / 472.5 MB, free: 32.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.4912, allocations: 39 kB / 472.5 MB, free: 32.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.635e-06/0.4912, allocations: 0 / 472.5 MB, free: 32.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.002035/0.4933, allocations: 1.219 MB / 473.7 MB, free: 32.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.4933, allocations: 64.73 kB / 473.8 MB, free: 32.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/0.4943, allocations: 0.7983 MB / 474.6 MB, free: 32.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.4944, allocations: 41.02 kB / 474.6 MB, free: 32.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.4947, allocations: 484.8 kB / 475.1 MB, free: 31.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.495, allocations: 309 kB / 475.4 MB, free: 31.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4951, allocations: 90.83 kB / 475.5 MB, free: 31.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4952, allocations: 403.7 kB / 475.9 MB, free: 31.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.4958, allocations: 352 kB / 476.2 MB, free: 30.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/0.4965, allocations: 0.6158 MB / 476.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.4977, allocations: 0.9819 MB / 477.8 MB, free: 29.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.4978, allocations: 3.094 kB / 477.8 MB, free: 29.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001921/0.4997, allocations: 1.18 MB / 479 MB, free: 29.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4997, allocations: 9.75 kB / 479 MB, free: 29.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.4997, allocations: 10.94 kB / 479 MB, free: 29.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.5001, allocations: 73.64 kB / 479.1 MB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.5011, allocations: 262.7 kB / 479.4 MB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.5029, allocations: 2.633 MB / 482 MB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009378/0.5038, allocations: 155.8 kB / 482.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.5039, allocations: 49 kB / 482.2 MB, free: 26.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.0004405/0.5043, allocations: 251.2 kB / 482.4 MB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.5045, allocations: 95.52 kB / 482.5 MB, free: 26.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.5064, allocations: 1.118 MB / 483.7 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5064, allocations: 9.094 kB / 483.7 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5064, allocations: 2.938 kB / 483.7 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5064, allocations: 4.172 kB / 483.7 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.5101, allocations: 2.738 MB / 486.4 MB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.5101, allocations: 6.094 kB / 486.4 MB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006559/0.5107, allocations: 187.9 kB / 486.6 MB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/0.5109, allocations: 67.89 kB / 486.7 MB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.511, allocations: 24 kB / 486.7 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.5124, allocations: 2.631 MB / 489.3 MB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5125, allocations: 8.719 kB / 489.3 MB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.5149, allocations: 1.496 MB / 490.8 MB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.5153, allocations: 213.7 kB / 491 MB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5154, allocations: 26.86 kB / 491.1 MB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.5161, allocations: 62.59 kB / 491.1 MB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.5163, allocations: 75.45 kB / 491.2 MB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.5164, allocations: 41.66 kB / 491.2 MB, free: 20.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009464/0.5174, allocations: 0.5611 MB / 491.8 MB, free: 20.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5174, allocations: 0 / 491.8 MB, free: 20.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001572/0.5189, allocations: 290.5 kB / 492.1 MB, free: 19.96 MB / 382.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 (94): * Single equations (assignments): 92 * 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.0003534/0.5193, allocations: 173.2 kB / 492.2 MB, free: 19.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.5214, allocations: 1.101 MB / 493.4 MB, free: 19.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5214, allocations: 1.25 kB / 493.4 MB, free: 19.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.5224, allocations: 0.6283 MB / 494 MB, free: 19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.5237, allocations: 121.6 kB / 494.1 MB, free: 18.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.5273, allocations: 2.293 MB / 496.4 MB, free: 17.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.5279, allocations: 0.995 MB / 497.4 MB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007891/0.5287, allocations: 154.5 kB / 497.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.529, allocations: 82.72 kB / 497.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.529, allocations: 0 / 497.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02188/0.5509, allocations: 9.809 MB / 0.4955 GB, free: 16.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches