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.001105/0.001105, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001132/0.001132, allocations: 194 kB / 18.12 MB, free: 5.363 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.456/1.456, allocations: 222.9 MB / 241.8 MB, free: 15.53 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.2212/0.2212, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.83 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1399, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01004/0.15, allocations: 6.89 MB / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00603/0.1561, allocations: 2.198 MB / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.1579, allocations: 27.94 kB / 477.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004145/0.1622, allocations: 1.42 MB / 479.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.1655, allocations: 0.7663 MB / 479.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1672, allocations: 0.5397 MB / 480.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.1694, allocations: 1.109 MB / 481.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.1713, allocations: 0.7361 MB / 482.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.1725, allocations: 442.2 kB / 482.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009713/0.1735, allocations: 0.5757 MB / 483.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.1738, allocations: 68 kB / 483.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1749, allocations: 259.8 kB / 483.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.1752, allocations: 226.9 kB / 483.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.176, allocations: 0.5246 MB / 484.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.1777, allocations: 1.413 MB / 485.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1777, allocations: 0 / 485.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1777, allocations: 0 / 485.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1778, allocations: 0 / 485.7 MB, free: 13.61 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.004128/0.1819, allocations: 1.69 MB / 487.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.182, allocations: 15.97 kB / 487.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009319/0.1913, allocations: 1.315 MB / 488.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.1925, allocations: 0.5258 MB / 489.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.1926, allocations: 90.34 kB / 489.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.1928, allocations: 127.9 kB / 489.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.195, allocations: 1.137 MB / 490.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.195, allocations: 4 kB / 490.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.1952, allocations: 51.94 kB / 490.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.1952, allocations: 32 kB / 490.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.1975, allocations: 1.372 MB / 492 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007745/0.2052, allocations: 4.662 MB / 496.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.2078, allocations: 0.9381 MB / 497.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009013/0.2088, allocations: 367.7 kB / 498 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.209, allocations: 94.09 kB / 498.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.209, allocations: 47.55 kB / 498.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 4.298e-06/0.2091, allocations: 0 / 498.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002721/0.2118, allocations: 1.187 MB / 499.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.2119, allocations: 60.41 kB / 499.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.213, allocations: 0.7855 MB / 0.4885 GB, free: 14.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.213, allocations: 37.7 kB / 0.4885 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.2134, allocations: 462.9 kB / 0.4889 GB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.2137, allocations: 311.5 kB / 0.4892 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.214, allocations: 182.9 kB / 0.4894 GB, free: 13.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.2142, allocations: 394.7 kB / 0.4898 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.2149, allocations: 330.5 kB / 0.4901 GB, free: 12.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008947/0.2158, allocations: 0.5661 MB / 0.4906 GB, free: 12.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.2173, allocations: 0.9231 MB / 0.4915 GB, free: 11.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.2173, allocations: 7.938 kB / 0.4916 GB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002214/0.2195, allocations: 1.119 MB / 0.4926 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.2196, allocations: 11.31 kB / 0.4927 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.2196, allocations: 4 kB / 0.4927 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.22, allocations: 73.66 kB / 0.4927 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.221, allocations: 243.6 kB / 0.493 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.2235, allocations: 2.642 MB / 0.4955 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008871/0.2244, allocations: 142.3 kB / 0.4957 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/0.2245, allocations: 44 kB / 0.4957 GB, free: 6.629 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.0004397/0.2249, allocations: 249.6 kB / 0.496 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.2251, allocations: 90.91 kB / 0.496 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.2271, allocations: 1.095 MB / 0.4971 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.2271, allocations: 8 kB / 0.4971 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2272, allocations: 0 / 0.4971 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.2272, allocations: 11.86 kB / 0.4971 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.2311, allocations: 2.7 MB / 0.4998 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.2312, allocations: 8 kB / 0.4998 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.2319, allocations: 175.7 kB / 0.4999 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.2321, allocations: 61.67 kB / 0.5 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.2322, allocations: 24 kB / 0.5 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.254/0.4862, allocations: 2.626 MB / 0.5026 GB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.4862, allocations: 7.969 kB / 0.5026 GB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.4887, allocations: 1.459 MB / 0.504 GB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.489, allocations: 193.9 kB / 0.5042 GB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.4891, allocations: 26.53 kB / 0.5042 GB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.4898, allocations: 53.58 kB / 0.5043 GB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.49, allocations: 81.92 kB / 0.5044 GB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/0.49, allocations: 39.55 kB / 0.5044 GB, free: 46.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000731/0.4908, allocations: 0.552 MB / 0.5049 GB, free: 46.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4908, allocations: 0 / 0.5049 GB, free: 46.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008997/0.4917, allocations: 283.4 kB / 0.5052 GB, free: 46.1 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.0002519/0.492, allocations: 170.9 kB / 0.5054 GB, free: 46.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.4937, allocations: 1.057 MB / 0.5064 GB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4937, allocations: 1.062 kB / 0.5064 GB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008147/0.4945, allocations: 0.6185 MB / 0.507 GB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.4953, allocations: 118.9 kB / 0.5071 GB, free: 45.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.4981, allocations: 2.17 MB / 0.5092 GB, free: 43.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.4986, allocations: 0.9915 MB / 0.5102 GB, free: 43.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006349/0.4992, allocations: 144.8 kB / 0.5104 GB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.4994, allocations: 78.02 kB / 0.5104 GB, free: 43.01 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4995, allocations: 4 kB / 0.5104 GB, free: 43.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01874/0.5182, allocations: 9.861 MB / 0.5201 GB, free: 40.89 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