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.001188/0.001188, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001158/0.001159, allocations: 183.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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.241/0.241, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4043, allocations: 60.81 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007577/0.4119, allocations: 6.94 MB / 0.5257 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005582/0.4175, allocations: 2.203 MB / 0.5278 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009231/0.4185, allocations: 24.56 kB / 0.5278 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003537/0.4221, allocations: 1.529 MB / 0.5293 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.4252, allocations: 0.8337 MB / 0.5301 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.4268, allocations: 0.5701 MB / 0.5307 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.4287, allocations: 1.154 MB / 0.5318 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.4304, allocations: 0.8123 MB / 0.5326 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.4317, allocations: 482.1 kB / 0.5331 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.433, allocations: 0.5929 MB / 0.5337 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003839/0.4334, allocations: 94.03 kB / 0.5338 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.4347, allocations: 284.3 kB / 0.534 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.4351, allocations: 249.9 kB / 0.5343 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.4363, allocations: 0.5541 MB / 0.5348 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.4392, allocations: 1.453 MB / 0.5362 GB, free: 7.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4393, allocations: 0 / 0.5362 GB, free: 7.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4393, allocations: 4 kB / 0.5362 GB, free: 7.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.08e-05/0.4394, allocations: 0 / 0.5362 GB, free: 7.328 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.006077/0.4454, allocations: 1.681 MB / 0.5379 GB, free: 6.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4455, allocations: 9.219 kB / 0.5379 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00983/0.4553, allocations: 1.326 MB / 0.5392 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.4565, allocations: 0.5325 MB / 0.5397 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/0.4566, allocations: 90.56 kB / 0.5398 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.4569, allocations: 126.3 kB / 0.5399 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.4591, allocations: 1.135 MB / 0.541 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.4591, allocations: 10.27 kB / 0.541 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.4593, allocations: 50.53 kB / 0.5411 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.4593, allocations: 29 kB / 0.5411 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.4617, allocations: 1.364 MB / 0.5424 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006964/0.4687, allocations: 4.647 MB / 0.547 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.4704, allocations: 0.9264 MB / 0.5479 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.4709, allocations: 371.7 kB / 0.5482 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.471, allocations: 102.1 kB / 0.5483 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.4711, allocations: 51.5 kB / 0.5484 GB, free: 13.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.749e-06/0.4711, allocations: 0 / 0.5484 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002107/0.4732, allocations: 1.183 MB / 0.5495 GB, free: 12.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.4733, allocations: 68.34 kB / 0.5496 GB, free: 12.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.4742, allocations: 0.7854 MB / 0.5504 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.4742, allocations: 41.7 kB / 0.5504 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.4746, allocations: 459 kB / 0.5508 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.4748, allocations: 299.6 kB / 0.5511 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.4751, allocations: 190.8 kB / 0.5513 GB, free: 10.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4753, allocations: 394.7 kB / 0.5517 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/0.476, allocations: 342.5 kB / 0.552 GB, free: 9.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.4767, allocations: 0.5583 MB / 0.5526 GB, free: 8.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.4781, allocations: 0.9192 MB / 0.5534 GB, free: 7.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.4781, allocations: 4 kB / 0.5535 GB, free: 7.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001878/0.48, allocations: 1.123 MB / 0.5546 GB, free: 6.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4801, allocations: 11.94 kB / 0.5546 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.4801, allocations: 7.984 kB / 0.5546 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.4804, allocations: 65.69 kB / 0.5546 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009335/0.4814, allocations: 243.6 kB / 0.5549 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.4835, allocations: 2.832 MB / 0.5576 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009407/0.4845, allocations: 146.3 kB / 0.5578 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.4846, allocations: 40 kB / 0.5578 GB, free: 3.082 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.0003974/0.485, allocations: 248 kB / 0.558 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4851, allocations: 86.97 kB / 0.5581 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.487, allocations: 1.102 MB / 0.5592 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.487, allocations: 12 kB / 0.5592 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.487, allocations: 0 / 0.5592 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4871, allocations: 7.922 kB / 0.5592 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.4908, allocations: 2.696 MB / 0.5619 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.4909, allocations: 8 kB / 0.5619 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.4916, allocations: 175.7 kB / 0.562 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.4918, allocations: 74.11 kB / 0.5621 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.4919, allocations: 27.98 kB / 0.5621 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.4942, allocations: 2.816 MB / 0.5649 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.4942, allocations: 11.94 kB / 0.5649 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.4964, allocations: 1.457 MB / 0.5663 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.4967, allocations: 199.8 kB / 0.5665 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.4968, allocations: 24.06 kB / 0.5665 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.4974, allocations: 55.91 kB / 0.5666 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.4976, allocations: 76.36 kB / 0.5667 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.4977, allocations: 39.92 kB / 0.5667 GB, free: 9.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.4984, allocations: 0.5537 MB / 0.5672 GB, free: 8.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4984, allocations: 0 / 0.5672 GB, free: 8.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001043/0.4994, allocations: 283.5 kB / 0.5675 GB, free: 8.473 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.0003439/0.4998, allocations: 171 kB / 0.5677 GB, free: 8.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.5017, allocations: 1.069 MB / 0.5687 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.5017, allocations: 7.938 kB / 0.5687 GB, free: 7.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.5026, allocations: 0.6125 MB / 0.5693 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.5033, allocations: 126.9 kB / 0.5694 GB, free: 6.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.5064, allocations: 1.755 MB / 0.5711 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.507, allocations: 0.9883 MB / 0.5721 GB, free: 3.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005458/0.5076, allocations: 143.4 kB / 0.5723 GB, free: 3.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.5078, allocations: 79.42 kB / 0.5723 GB, free: 3.344 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5078, allocations: 0 / 0.5723 GB, free: 3.344 MB / 430.1 MB Notification: Performance of Templates: time 0.0193/0.5271, allocations: 10.44 MB / 0.5825 GB, free: 8.957 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