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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 105.8 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4185/0.4185, allocations: 44.13 MB / 386.1 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3245, allocations: 60.8 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00576/0.3303, allocations: 6.897 MB / 0.5131 GB, free: 33.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.3334, allocations: 2.19 MB / 0.5153 GB, free: 31.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004024/0.3338, allocations: 19.75 kB / 0.5153 GB, free: 31.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.3363, allocations: 1.428 MB / 0.5167 GB, free: 30.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.3378, allocations: 0.777 MB / 0.5174 GB, free: 30.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009695/0.3388, allocations: 0.5347 MB / 0.518 GB, free: 30.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.3398, allocations: 1.11 MB / 0.519 GB, free: 29.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.3408, allocations: 0.7421 MB / 0.5198 GB, free: 29.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006364/0.3415, allocations: 450.5 kB / 0.5202 GB, free: 28.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.342, allocations: 0.5827 MB / 0.5208 GB, free: 28.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.3421, allocations: 69.66 kB / 0.5208 GB, free: 28.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.3427, allocations: 257.1 kB / 0.5211 GB, free: 28.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3428, allocations: 221.1 kB / 0.5213 GB, free: 28.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.3432, allocations: 0.5239 MB / 0.5218 GB, free: 28.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.3444, allocations: 1.41 MB / 0.5232 GB, free: 27.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3444, allocations: 2.531 kB / 0.5232 GB, free: 27.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3444, allocations: 0 / 0.5232 GB, free: 27.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.3444, allocations: 0 / 0.5232 GB, free: 27.43 MB / 378.7 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.003534/0.348, allocations: 1.678 MB / 0.5248 GB, free: 26.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.348, allocations: 12.56 kB / 0.5248 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009096/0.3571, allocations: 1.316 MB / 0.5261 GB, free: 26.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.3586, allocations: 0.5291 MB / 0.5266 GB, free: 25.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.3587, allocations: 101 kB / 0.5267 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.3589, allocations: 121.5 kB / 0.5268 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.3614, allocations: 1.15 MB / 0.528 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.3615, allocations: 5.828 kB / 0.528 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.3616, allocations: 50.91 kB / 0.528 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.3616, allocations: 28.34 kB / 0.528 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.3639, allocations: 1.367 MB / 0.5294 GB, free: 24.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006945/0.3709, allocations: 4.668 MB / 0.5339 GB, free: 21.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.3726, allocations: 0.9289 MB / 0.5348 GB, free: 21.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005658/0.3732, allocations: 365.3 kB / 0.5352 GB, free: 21.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.3734, allocations: 109.1 kB / 0.5353 GB, free: 21.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.3734, allocations: 38.69 kB / 0.5353 GB, free: 21.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 6.102e-06/0.3734, allocations: 0 / 0.5353 GB, free: 21.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.002426/0.3759, allocations: 1.193 MB / 0.5365 GB, free: 20.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3759, allocations: 62 kB / 0.5366 GB, free: 20.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000891/0.3768, allocations: 0.7824 MB / 0.5373 GB, free: 19.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/0.3769, allocations: 41.02 kB / 0.5374 GB, free: 19.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.3772, allocations: 465 kB / 0.5378 GB, free: 19.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.3775, allocations: 302 kB / 0.5381 GB, free: 19.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.3778, allocations: 189 kB / 0.5383 GB, free: 19.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3779, allocations: 396.8 kB / 0.5387 GB, free: 18.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.3785, allocations: 340.8 kB / 0.539 GB, free: 18.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.3791, allocations: 0.5578 MB / 0.5395 GB, free: 18.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3802, allocations: 0.9243 MB / 0.5404 GB, free: 17.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3803, allocations: 7.094 kB / 0.5404 GB, free: 17.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002011/0.3823, allocations: 1.122 MB / 0.5415 GB, free: 17.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.3823, allocations: 8.25 kB / 0.5415 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3823, allocations: 6.875 kB / 0.5415 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.3826, allocations: 70.61 kB / 0.5416 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000943/0.3836, allocations: 249.4 kB / 0.5418 GB, free: 17.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.3851, allocations: 2.622 MB / 0.5444 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009163/0.3861, allocations: 145.2 kB / 0.5445 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.3862, allocations: 49.28 kB / 0.5446 GB, free: 14.39 MB / 378.7 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.0003812/0.3866, allocations: 247.3 kB / 0.5448 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.3867, allocations: 89.62 kB / 0.5449 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.3885, allocations: 1.094 MB / 0.546 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3885, allocations: 9.625 kB / 0.546 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3885, allocations: 3.984 kB / 0.546 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3886, allocations: 11.27 kB / 0.546 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.3918, allocations: 2.699 MB / 0.5486 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.3918, allocations: 5.719 kB / 0.5486 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/0.3925, allocations: 178.2 kB / 0.5488 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.3927, allocations: 67.92 kB / 0.5489 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.3928, allocations: 24.25 kB / 0.5489 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.3942, allocations: 2.62 MB / 0.5515 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.3942, allocations: 6.469 kB / 0.5515 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/0.3984, allocations: 3.357 MB / 0.5547 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3986, allocations: 191 kB / 0.5549 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3988, allocations: 28.44 kB / 0.555 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/0.3995, allocations: 54.28 kB / 0.555 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.3997, allocations: 79.09 kB / 0.5551 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.3997, allocations: 35.33 kB / 0.5551 GB, free: 6.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006743/0.4004, allocations: 0.5577 MB / 0.5557 GB, free: 6.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4004, allocations: 0 / 0.5557 GB, free: 6.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001109/0.4015, allocations: 349.2 kB / 0.556 GB, free: 6.258 MB / 378.7 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.0002914/0.4018, allocations: 160.7 kB / 0.5561 GB, free: 6.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.4036, allocations: 1.065 MB / 0.5572 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4037, allocations: 1.281 kB / 0.5572 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008345/0.4045, allocations: 0.6165 MB / 0.5578 GB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.4053, allocations: 117.6 kB / 0.5579 GB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.4086, allocations: 2.616 MB / 0.5605 GB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.4092, allocations: 1.014 MB / 0.5614 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008097/0.4101, allocations: 148 kB / 0.5616 GB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.4104, allocations: 77.84 kB / 0.5617 GB, free: 2.586 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4104, allocations: 0 / 0.5617 GB, free: 2.586 MB / 378.7 MB Notification: Performance of Templates: time 0.02173/0.4321, allocations: 10.24 MB / 0.5717 GB, free: 11.32 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches