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.001114/0.001114, allocations: 104.4 kB / 17.98 MB, free: 5.359 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.001146/0.001146, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.308/1.308, allocations: 222.9 MB / 242.6 MB, free: 13.71 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.2124/0.2124, allocations: 44.17 MB / 336.9 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.52 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09592, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007336/0.1033, allocations: 6.884 MB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.1072, allocations: 2.179 MB / 478.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.1079, allocations: 20 kB / 478.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.111, allocations: 1.427 MB / 479.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.113, allocations: 0.7698 MB / 480.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1141, allocations: 0.5218 MB / 481.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.1154, allocations: 1.148 MB / 482.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1166, allocations: 0.9172 MB / 483.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.1172, allocations: 470.1 kB / 483.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.1177, allocations: 0.5914 MB / 484.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.1178, allocations: 96 kB / 484.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.1184, allocations: 283.6 kB / 484.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1186, allocations: 251 kB / 484.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.119, allocations: 0.5557 MB / 485.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1201, allocations: 1.138 MB / 486.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1201, allocations: 0 / 486.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1201, allocations: 0 / 486.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1202, allocations: 0 / 486.6 MB, free: 13.4 MB / 366.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.003791/0.124, allocations: 1.678 MB / 488.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.124, allocations: 8.031 kB / 488.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008982/0.133, allocations: 1.323 MB / 489.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009333/0.134, allocations: 0.5257 MB / 490.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.134, allocations: 102.3 kB / 490.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.1342, allocations: 119.9 kB / 490.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.1363, allocations: 1.141 MB / 491.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.1363, allocations: 4 kB / 491.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.1364, allocations: 48 kB / 491.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.1365, allocations: 39.94 kB / 491.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.1385, allocations: 1.364 MB / 493 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006726/0.1453, allocations: 4.674 MB / 497.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.147, allocations: 0.9303 MB / 498.6 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.1475, allocations: 363.7 kB / 498.9 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.1476, allocations: 102.1 kB / 499 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.1477, allocations: 43.56 kB / 499.1 MB, free: 496 kB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/0.1477, allocations: 0 / 499.1 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002192/0.1499, allocations: 1.187 MB / 0.4885 GB, free: 15.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1499, allocations: 60.41 kB / 0.4886 GB, free: 15.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009222/0.1509, allocations: 0.7816 MB / 0.4893 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.1509, allocations: 41.7 kB / 0.4894 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.1513, allocations: 466.8 kB / 0.4898 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.1515, allocations: 299.6 kB / 0.4901 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.1518, allocations: 182.9 kB / 0.4903 GB, free: 13.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.152, allocations: 394.7 kB / 0.4907 GB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.1526, allocations: 342.4 kB / 0.491 GB, free: 12.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.1533, allocations: 0.5622 MB / 0.4915 GB, free: 12.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.1546, allocations: 0.9231 MB / 0.4924 GB, free: 10.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.1546, allocations: 11.94 kB / 0.4924 GB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001926/0.1565, allocations: 1.123 MB / 0.4935 GB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1566, allocations: 8.812 kB / 0.4936 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1566, allocations: 4 kB / 0.4936 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.1569, allocations: 65.69 kB / 0.4936 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.1578, allocations: 247.6 kB / 0.4939 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.16, allocations: 2.84 MB / 0.4966 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00097/0.161, allocations: 146.3 kB / 0.4968 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/0.1611, allocations: 40 kB / 0.4968 GB, free: 6.223 MB / 382.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.000412/0.1615, allocations: 245.5 kB / 0.497 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.1616, allocations: 90.95 kB / 0.4971 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.1635, allocations: 1.099 MB / 0.4982 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.1635, allocations: 15.94 kB / 0.4982 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1636, allocations: 0 / 0.4982 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.1636, allocations: 3.984 kB / 0.4982 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.1671, allocations: 2.684 MB / 0.5008 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.1671, allocations: 11.94 kB / 0.5009 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007/0.1678, allocations: 179.8 kB / 0.501 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.1681, allocations: 61.62 kB / 0.5011 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.1681, allocations: 39.92 kB / 0.5011 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1948/0.3629, allocations: 2.811 MB / 0.5039 GB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.3629, allocations: 10.41 kB / 0.5039 GB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.3653, allocations: 1.458 MB / 0.5053 GB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.3655, allocations: 193.6 kB / 0.5055 GB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.3657, allocations: 27.58 kB / 0.5055 GB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.3663, allocations: 55.8 kB / 0.5056 GB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.3665, allocations: 78.61 kB / 0.5056 GB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.3665, allocations: 31.53 kB / 0.5057 GB, free: 45.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006761/0.3672, allocations: 0.5568 MB / 0.5062 GB, free: 45.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3672, allocations: 1.062 kB / 0.5062 GB, free: 45.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008789/0.3681, allocations: 285.7 kB / 0.5065 GB, free: 45.33 MB / 382.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.0002489/0.3684, allocations: 173.5 kB / 0.5067 GB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.3704, allocations: 1.097 MB / 0.5077 GB, free: 44.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.3704, allocations: 4.906 kB / 0.5077 GB, free: 44.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008396/0.3713, allocations: 0.6165 MB / 0.5083 GB, free: 44.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/0.372, allocations: 125.7 kB / 0.5085 GB, free: 44.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.3749, allocations: 2.207 MB / 0.5106 GB, free: 42.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.3754, allocations: 0.9877 MB / 0.5116 GB, free: 42.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.3758, allocations: 88.12 kB / 0.5117 GB, free: 42.2 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3758, allocations: 0 / 0.5117 GB, free: 42.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02299/0.3988, allocations: 19.86 MB / 0.531 GB, free: 33.3 MB / 382.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