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.001371/0.001371, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001465/0.001465, allocations: 187.1 kB / 18.7 MB, free: 4.371 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.534/1.534, 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.2326/0.2326, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4157, allocations: 60.82 MB / 0.5189 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007571/0.4233, allocations: 6.941 MB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004903/0.4283, allocations: 2.193 MB / 0.5278 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.429, allocations: 24.56 kB / 0.5278 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.4325, allocations: 1.531 MB / 0.5293 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.4347, allocations: 0.8321 MB / 0.5301 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.436, allocations: 0.5739 MB / 0.5307 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.4376, allocations: 1.15 MB / 0.5318 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.4389, allocations: 0.814 MB / 0.5326 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.4398, allocations: 484 kB / 0.5331 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007591/0.4406, allocations: 0.5953 MB / 0.5337 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.4407, allocations: 95.28 kB / 0.5338 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008895/0.4416, allocations: 283.7 kB / 0.534 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.4419, allocations: 245.8 kB / 0.5343 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00063/0.4425, allocations: 0.5567 MB / 0.5348 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.4445, allocations: 1.448 MB / 0.5362 GB, free: 7.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4445, allocations: 5.031 kB / 0.5362 GB, free: 7.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4445, allocations: 0 / 0.5362 GB, free: 7.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.4445, allocations: 0 / 0.5362 GB, free: 7.566 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.004464/0.449, allocations: 1.682 MB / 0.5379 GB, free: 6.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.4491, allocations: 9.75 kB / 0.5379 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00947/0.4585, allocations: 1.318 MB / 0.5392 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.4602, allocations: 0.5365 MB / 0.5397 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.743e-05/0.4603, allocations: 90.81 kB / 0.5398 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.4605, allocations: 121.5 kB / 0.5399 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.463, allocations: 1.151 MB / 0.541 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.4631, allocations: 6.656 kB / 0.541 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.4632, allocations: 49.41 kB / 0.5411 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.4632, allocations: 33.27 kB / 0.5411 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.4655, allocations: 1.365 MB / 0.5424 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007108/0.4726, allocations: 4.637 MB / 0.547 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.4743, allocations: 0.9303 MB / 0.5479 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.4749, allocations: 371.7 kB / 0.5482 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.475, allocations: 94.09 kB / 0.5483 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.4751, allocations: 43.56 kB / 0.5484 GB, free: 13.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.478e-06/0.4751, allocations: 8 kB / 0.5484 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002155/0.4772, allocations: 1.187 MB / 0.5495 GB, free: 12.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.4773, allocations: 64.41 kB / 0.5496 GB, free: 12.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/0.4783, allocations: 0.7816 MB / 0.5503 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.4783, allocations: 41.7 kB / 0.5504 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.4786, allocations: 463 kB / 0.5508 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.4789, allocations: 307.6 kB / 0.5511 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.4792, allocations: 186.7 kB / 0.5513 GB, free: 10.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4793, allocations: 394.7 kB / 0.5517 GB, free: 10 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.4799, allocations: 334.5 kB / 0.552 GB, free: 9.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.4806, allocations: 0.5661 MB / 0.5525 GB, free: 9.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.482, allocations: 0.9269 MB / 0.5535 GB, free: 8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.482, allocations: 0 / 0.5535 GB, free: 8 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00188/0.4839, allocations: 1.127 MB / 0.5546 GB, free: 6.859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4839, allocations: 8 kB / 0.5546 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.484, allocations: 8 kB / 0.5546 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/0.4842, allocations: 65.61 kB / 0.5546 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/0.4852, allocations: 239.7 kB / 0.5549 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.4877, allocations: 2.836 MB / 0.5576 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.4887, allocations: 142.3 kB / 0.5578 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/0.4888, allocations: 48 kB / 0.5578 GB, free: 3.234 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.000489/0.4893, allocations: 245.5 kB / 0.558 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4895, allocations: 86.97 kB / 0.5581 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.4913, allocations: 1.099 MB / 0.5592 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4913, allocations: 8 kB / 0.5592 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4913, allocations: 0 / 0.5592 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4913, allocations: 11.92 kB / 0.5592 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.495, allocations: 2.7 MB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.495, allocations: 4 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007009/0.4957, allocations: 171.8 kB / 0.562 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.496, allocations: 73.92 kB / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.496, allocations: 32 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.4982, allocations: 2.816 MB / 0.5649 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.4983, allocations: 7.938 kB / 0.5649 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.5004, allocations: 1.457 MB / 0.5663 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.5008, allocations: 199.8 kB / 0.5665 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.5009, allocations: 24 kB / 0.5665 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/0.5015, allocations: 59.97 kB / 0.5666 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5016, allocations: 76.36 kB / 0.5666 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/0.5017, allocations: 39.92 kB / 0.5667 GB, free: 9.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006805/0.5024, allocations: 0.5498 MB / 0.5672 GB, free: 8.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5024, allocations: 0 / 0.5672 GB, free: 8.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009626/0.5034, allocations: 287.5 kB / 0.5675 GB, free: 8.629 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.0002988/0.5037, allocations: 173 kB / 0.5677 GB, free: 8.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.5055, allocations: 1.069 MB / 0.5687 GB, free: 7.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5055, allocations: 0 / 0.5687 GB, free: 7.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.5066, allocations: 0.6276 MB / 0.5693 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.5074, allocations: 114.9 kB / 0.5694 GB, free: 6.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.5109, allocations: 1.765 MB / 0.5712 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.5115, allocations: 0.9844 MB / 0.5721 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006225/0.5121, allocations: 151.4 kB / 0.5723 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.5123, allocations: 79.42 kB / 0.5723 GB, free: 3.492 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5123, allocations: 0 / 0.5723 GB, free: 3.492 MB / 430.1 MB Notification: Performance of Templates: time 0.01921/0.5316, allocations: 10.69 MB / 0.5828 GB, free: 8.855 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