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.001256/0.001256, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001222/0.001222, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.355/1.355, allocations: 222.9 MB / 243.1 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.2246/0.2246, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4059, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008365/0.4143, allocations: 6.929 MB / 0.5263 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00538/0.4197, allocations: 2.213 MB / 0.5285 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.4208, allocations: 28.94 kB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.4245, allocations: 1.522 MB / 0.53 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.427, allocations: 0.8327 MB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.4284, allocations: 0.5785 MB / 0.5314 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.4301, allocations: 1.158 MB / 0.5325 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.4314, allocations: 0.8046 MB / 0.5333 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007961/0.4322, allocations: 478.9 kB / 0.5338 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000674/0.4329, allocations: 0.593 MB / 0.5343 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.4331, allocations: 94.34 kB / 0.5344 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.4339, allocations: 280.2 kB / 0.5347 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.4341, allocations: 257 kB / 0.5349 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.4346, allocations: 0.5529 MB / 0.5355 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.4362, allocations: 1.459 MB / 0.5369 GB, free: 7.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.4363, allocations: 0 / 0.5369 GB, free: 7.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4363, allocations: 1.625 kB / 0.5369 GB, free: 7.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.4363, allocations: 0 / 0.5369 GB, free: 7.34 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.00412/0.4404, allocations: 1.666 MB / 0.5385 GB, free: 6.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4405, allocations: 8.969 kB / 0.5385 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009576/0.45, allocations: 1.333 MB / 0.5398 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.4514, allocations: 0.5372 MB / 0.5404 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.4515, allocations: 90.5 kB / 0.5404 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.4517, allocations: 122.4 kB / 0.5406 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.454, allocations: 1.14 MB / 0.5417 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.454, allocations: 1.188 kB / 0.5417 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.4542, allocations: 54.39 kB / 0.5417 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.4542, allocations: 29 kB / 0.5418 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.4565, allocations: 1.365 MB / 0.5431 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007159/0.4637, allocations: 4.641 MB / 0.5476 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.4654, allocations: 0.9342 MB / 0.5485 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.466, allocations: 367.7 kB / 0.5489 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.4661, allocations: 110 kB / 0.549 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4662, allocations: 43.56 kB / 0.549 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.158e-06/0.4662, allocations: 0 / 0.549 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002223/0.4684, allocations: 1.191 MB / 0.5502 GB, free: 12.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.4685, allocations: 60.41 kB / 0.5503 GB, free: 12.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009845/0.4695, allocations: 0.7854 MB / 0.551 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.4695, allocations: 41.7 kB / 0.5511 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.4698, allocations: 459 kB / 0.5515 GB, free: 10.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.4701, allocations: 303.6 kB / 0.5518 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.4704, allocations: 194.7 kB / 0.552 GB, free: 10.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4706, allocations: 394.7 kB / 0.5523 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.4712, allocations: 334.5 kB / 0.5527 GB, free: 9.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.4719, allocations: 0.5622 MB / 0.5532 GB, free: 8.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.4733, allocations: 0.9231 MB / 0.5541 GB, free: 7.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4733, allocations: 0 / 0.5541 GB, free: 7.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001957/0.4753, allocations: 1.127 MB / 0.5552 GB, free: 6.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4753, allocations: 8 kB / 0.5552 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4753, allocations: 8 kB / 0.5552 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.4757, allocations: 69.98 kB / 0.5553 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009394/0.4766, allocations: 247.6 kB / 0.5555 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.4788, allocations: 2.828 MB / 0.5583 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.4798, allocations: 142.3 kB / 0.5584 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/0.4799, allocations: 44 kB / 0.5585 GB, free: 3.086 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.0004188/0.4803, allocations: 245.6 kB / 0.5587 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.4805, allocations: 86.97 kB / 0.5588 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.4823, allocations: 1.095 MB / 0.5599 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.4824, allocations: 15.98 kB / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4824, allocations: 0 / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4824, allocations: 15.97 kB / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.4864, allocations: 2.688 MB / 0.5625 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.4865, allocations: 4 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007444/0.4872, allocations: 176.5 kB / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.4875, allocations: 69.61 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.4876, allocations: 27.98 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.4899, allocations: 2.812 MB / 0.5655 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.4899, allocations: 11.94 kB / 0.5655 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.4925, allocations: 1.457 MB / 0.567 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.4929, allocations: 199.8 kB / 0.5672 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.4932, allocations: 27.98 kB / 0.5672 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.494, allocations: 55.91 kB / 0.5672 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.4942, allocations: 72.42 kB / 0.5673 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.4942, allocations: 39.94 kB / 0.5673 GB, free: 9.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009518/0.4952, allocations: 0.5576 MB / 0.5679 GB, free: 8.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4952, allocations: 3.938 kB / 0.5679 GB, free: 8.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00128/0.4965, allocations: 291.5 kB / 0.5682 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.0003658/0.4969, allocations: 166.9 kB / 0.5683 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.499, allocations: 1.074 MB / 0.5694 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.4991, allocations: 0 / 0.5694 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009492/0.5, allocations: 0.6142 MB / 0.57 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.501, allocations: 122 kB / 0.5701 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.5044, allocations: 1.791 MB / 0.5718 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007872/0.5052, allocations: 0.9883 MB / 0.5728 GB, free: 3.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.5056, allocations: 91.42 kB / 0.5729 GB, free: 3.453 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5056, allocations: 0 / 0.5729 GB, free: 3.453 MB / 430.1 MB Notification: Performance of Templates: time 0.02783/0.5334, allocations: 19.97 MB / 0.5924 GB, free: 15.46 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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