Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001107/0.001107, allocations: 114.3 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 184.2 kB / 18.72 MB, free: 4.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3654, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007587/0.373, allocations: 6.938 MB / 0.5257 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.3776, allocations: 2.204 MB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.3782, allocations: 25.94 kB / 0.5279 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00334/0.3815, allocations: 1.51 MB / 0.5293 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.3834, allocations: 0.8449 MB / 0.5302 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3847, allocations: 0.5746 MB / 0.5307 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.386, allocations: 1.158 MB / 0.5318 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.387, allocations: 0.8078 MB / 0.5326 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007027/0.3878, allocations: 473.7 kB / 0.5331 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.3884, allocations: 0.5975 MB / 0.5337 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.3885, allocations: 94.31 kB / 0.5338 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006181/0.3891, allocations: 283.7 kB / 0.534 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.3893, allocations: 259.2 kB / 0.5343 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004369/0.3898, allocations: 0.5517 MB / 0.5348 GB, free: 8.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.3914, allocations: 1.46 MB / 0.5362 GB, free: 7.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3914, allocations: 0 / 0.5362 GB, free: 7.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3914, allocations: 1.375 kB / 0.5362 GB, free: 7.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.3914, allocations: 0 / 0.5362 GB, free: 7.312 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003939/0.3954, allocations: 1.711 MB / 0.5379 GB, free: 6.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3954, allocations: 10.12 kB / 0.5379 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009148/0.4046, allocations: 1.318 MB / 0.5392 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009275/0.4055, allocations: 0.5414 MB / 0.5397 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.4056, allocations: 94.95 kB / 0.5398 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.4058, allocations: 121.8 kB / 0.5399 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.4079, allocations: 1.139 MB / 0.5411 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.4079, allocations: 2.531 kB / 0.5411 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.408, allocations: 46.53 kB / 0.5411 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.4081, allocations: 32.17 kB / 0.5411 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.4104, allocations: 1.369 MB / 0.5425 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006835/0.4173, allocations: 4.649 MB / 0.547 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.4189, allocations: 0.9342 MB / 0.5479 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.4196, allocations: 371.7 kB / 0.5483 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.4197, allocations: 102 kB / 0.5484 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.4198, allocations: 47.55 kB / 0.5484 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.547e-06/0.4198, allocations: 3.938 kB / 0.5484 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002209/0.422, allocations: 1.195 MB / 0.5496 GB, free: 12.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.422, allocations: 60.41 kB / 0.5497 GB, free: 11.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.4231, allocations: 0.7894 MB / 0.5504 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.4232, allocations: 37.7 kB / 0.5505 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.4235, allocations: 464.2 kB / 0.5509 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.4238, allocations: 329.2 kB / 0.5512 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.4241, allocations: 194.8 kB / 0.5514 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4243, allocations: 394.7 kB / 0.5518 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.4249, allocations: 330.5 kB / 0.5521 GB, free: 9.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.4256, allocations: 0.5661 MB / 0.5526 GB, free: 8.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.4268, allocations: 0.9192 MB / 0.5535 GB, free: 7.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4269, allocations: 8 kB / 0.5536 GB, free: 7.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001895/0.4288, allocations: 1.123 MB / 0.5546 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4288, allocations: 8 kB / 0.5547 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.4288, allocations: 8 kB / 0.5547 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.4291, allocations: 66.23 kB / 0.5547 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/0.43, allocations: 247.6 kB / 0.555 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.4322, allocations: 2.832 MB / 0.5577 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/0.4331, allocations: 150.8 kB / 0.5579 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.4332, allocations: 51.97 kB / 0.5579 GB, free: 2.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0004126/0.4336, allocations: 245.6 kB / 0.5582 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.4338, allocations: 91.44 kB / 0.5582 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.4356, allocations: 1.095 MB / 0.5593 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4356, allocations: 12 kB / 0.5593 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4356, allocations: 3.984 kB / 0.5593 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.4356, allocations: 3.984 kB / 0.5593 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.4391, allocations: 2.696 MB / 0.562 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.4391, allocations: 8.781 kB / 0.562 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/0.4398, allocations: 183.7 kB / 0.5621 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/0.4401, allocations: 65.61 kB / 0.5622 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.4401, allocations: 24 kB / 0.5622 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.4421, allocations: 2.82 MB / 0.565 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.4421, allocations: 11.94 kB / 0.565 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.4441, allocations: 1.465 MB / 0.5664 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.4445, allocations: 196.3 kB / 0.5666 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.4446, allocations: 35.86 kB / 0.5667 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.4452, allocations: 52.03 kB / 0.5667 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4454, allocations: 76.36 kB / 0.5668 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.4455, allocations: 31.94 kB / 0.5668 GB, free: 9.207 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007306/0.4462, allocations: 0.5576 MB / 0.5673 GB, free: 8.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.246e-06/0.4462, allocations: 0 / 0.5673 GB, free: 8.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009488/0.4472, allocations: 295.5 kB / 0.5676 GB, free: 8.363 MB / 430.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 (92): * Single equations (assignments): 90 * 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.0003002/0.4475, allocations: 159 kB / 0.5678 GB, free: 8.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.4493, allocations: 1.074 MB / 0.5688 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.4493, allocations: 4 kB / 0.5688 GB, free: 7.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008398/0.4501, allocations: 0.6154 MB / 0.5694 GB, free: 6.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.4509, allocations: 121.2 kB / 0.5696 GB, free: 6.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.4537, allocations: 1.784 MB / 0.5713 GB, free: 4.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.4542, allocations: 0.9883 MB / 0.5723 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005367/0.4548, allocations: 151.4 kB / 0.5724 GB, free: 3.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.455, allocations: 75.42 kB / 0.5725 GB, free: 3.215 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.455, allocations: 0 / 0.5725 GB, free: 3.215 MB / 430.1 MB Notification: Performance of Templates: time 0.0165/0.4715, allocations: 10.44 MB / 0.5827 GB, free: 8.824 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches