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.001112/0.001112, allocations: 107 kB / 17.33 MB, free: 6 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.001122/0.001122, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.352/1.352, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2392/0.2392, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 64.92 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007876/0.1272, allocations: 6.884 MB / 475.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004322/0.1316, allocations: 2.191 MB / 477.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005717/0.1322, allocations: 23.94 kB / 477.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.1355, allocations: 1.427 MB / 479.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.1381, allocations: 0.7547 MB / 480 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1397, allocations: 0.5291 MB / 480.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.1417, allocations: 1.144 MB / 481.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.1431, allocations: 0.9133 MB / 482.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.1437, allocations: 470.1 kB / 483 MB, free: 340 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.1443, allocations: 0.5991 MB / 483.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.1445, allocations: 96 kB / 483.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008553/0.1453, allocations: 283.8 kB / 484 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.1456, allocations: 251 kB / 484.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.1462, allocations: 0.5558 MB / 484.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.1482, allocations: 1.433 MB / 486.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1482, allocations: 0 / 486.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1482, allocations: 0 / 486.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.1482, allocations: 7.922 kB / 486.2 MB, free: 13.11 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.004185/0.1524, allocations: 1.69 MB / 487.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1525, allocations: 8.031 kB / 487.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009455/0.1619, allocations: 1.315 MB / 489.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.1631, allocations: 0.5258 MB / 489.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.1632, allocations: 90.34 kB / 489.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.1634, allocations: 127.9 kB / 490 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.1655, allocations: 1.137 MB / 491.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.1656, allocations: 4 kB / 491.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.1657, allocations: 48 kB / 491.2 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.1657, allocations: 28 kB / 491.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.168, allocations: 1.376 MB / 492.6 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007312/0.1753, allocations: 4.67 MB / 497.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.1771, allocations: 0.9341 MB / 498.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.1777, allocations: 363.8 kB / 498.6 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1778, allocations: 94.09 kB / 498.6 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.1778, allocations: 55.55 kB / 498.7 MB, free: 196 kB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.357e-06/0.1779, allocations: 0 / 498.7 MB, free: 196 kB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002274/0.1801, allocations: 1.183 MB / 499.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1802, allocations: 64.41 kB / 499.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.1811, allocations: 0.7777 MB / 0.489 GB, free: 14.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.1812, allocations: 41.7 kB / 0.489 GB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.1815, allocations: 462.9 kB / 0.4895 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.1817, allocations: 307.5 kB / 0.4898 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.1821, allocations: 182.9 kB / 0.4899 GB, free: 13.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1822, allocations: 394.7 kB / 0.4903 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.1828, allocations: 334.5 kB / 0.4906 GB, free: 12.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.1836, allocations: 0.5661 MB / 0.4912 GB, free: 11.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.185, allocations: 0.927 MB / 0.4921 GB, free: 10.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.185, allocations: 3.938 kB / 0.4921 GB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002042/0.1871, allocations: 1.127 MB / 0.4932 GB, free: 9.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1871, allocations: 8 kB / 0.4932 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1871, allocations: 8 kB / 0.4932 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.1874, allocations: 61.67 kB / 0.4933 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.1884, allocations: 251.7 kB / 0.4935 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.1905, allocations: 2.832 MB / 0.4963 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/0.1914, allocations: 142.3 kB / 0.4964 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.1915, allocations: 47.98 kB / 0.4965 GB, free: 5.934 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.000377/0.1919, allocations: 241.7 kB / 0.4967 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.1921, allocations: 86.97 kB / 0.4968 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.1939, allocations: 1.099 MB / 0.4978 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1939, allocations: 8 kB / 0.4978 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.194, allocations: 3.984 kB / 0.4979 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.194, allocations: 11.92 kB / 0.4979 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.1979, allocations: 2.692 MB / 0.5005 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.1979, allocations: 4 kB / 0.5005 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.1987, allocations: 179.7 kB / 0.5007 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/0.1989, allocations: 70.08 kB / 0.5007 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.199, allocations: 31.94 kB / 0.5008 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2099/0.409, allocations: 2.821 MB / 0.5035 GB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.409, allocations: 6.844 kB / 0.5035 GB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.4118, allocations: 1.457 MB / 0.5049 GB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.4123, allocations: 194.5 kB / 0.5051 GB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.4124, allocations: 27.52 kB / 0.5052 GB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007024/0.4131, allocations: 50.42 kB / 0.5052 GB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.4134, allocations: 86.34 kB / 0.5053 GB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.4134, allocations: 31.23 kB / 0.5053 GB, free: 45.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008925/0.4143, allocations: 0.5549 MB / 0.5059 GB, free: 45.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4143, allocations: 3.656 kB / 0.5059 GB, free: 45.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001322/0.4157, allocations: 284.4 kB / 0.5061 GB, free: 45.36 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.0003417/0.416, allocations: 168.7 kB / 0.5063 GB, free: 45.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.4182, allocations: 1.097 MB / 0.5074 GB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4183, allocations: 2 kB / 0.5074 GB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.4192, allocations: 0.6174 MB / 0.508 GB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.4201, allocations: 123.9 kB / 0.5081 GB, free: 44.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.4231, allocations: 2.179 MB / 0.5102 GB, free: 43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.4236, allocations: 0.9877 MB / 0.5112 GB, free: 42.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006615/0.4243, allocations: 151.5 kB / 0.5113 GB, free: 42.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.4246, allocations: 76.58 kB / 0.5114 GB, free: 42.24 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4246, allocations: 1.469 kB / 0.5114 GB, free: 42.24 MB / 382.1 MB Notification: Performance of Templates: time 0.02323/0.4478, allocations: 10.34 MB / 0.5215 GB, free: 39.88 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/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