Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 119.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 200.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.618/1.618, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2788/0.2788, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1567, allocations: 66 MB / 0.5559 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009935/0.1666, allocations: 7.529 MB / 0.5632 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.1722, allocations: 2.354 MB / 0.5655 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1732, allocations: 27.94 kB / 0.5655 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00456/0.1778, allocations: 1.753 MB / 0.5672 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.1806, allocations: 0.7068 MB / 0.5679 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.1826, allocations: 0.7511 MB / 0.5687 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.1846, allocations: 1.245 MB / 0.5699 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.1859, allocations: 0.7153 MB / 0.5706 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007974/0.1867, allocations: 0.5253 MB / 0.5711 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007845/0.1874, allocations: 0.6614 MB / 0.5717 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.1876, allocations: 104 kB / 0.5718 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007491/0.1883, allocations: 299.8 kB / 0.5721 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.1886, allocations: 275 kB / 0.5724 GB, free: 4.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006728/0.1893, allocations: 0.6102 MB / 0.573 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.1917, allocations: 1.615 MB / 0.5746 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1917, allocations: 0 / 0.5746 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1917, allocations: 4 kB / 0.5746 GB, free: 2.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.1917, allocations: 0 / 0.5746 GB, free: 2.078 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00508/0.1968, allocations: 1.829 MB / 0.5764 GB, free: 200 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1968, allocations: 12.03 kB / 0.5764 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.2068, allocations: 1.264 MB / 0.5776 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.2085, allocations: 0.5688 MB / 0.5782 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.945e-05/0.2086, allocations: 99.03 kB / 0.5783 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.2088, allocations: 140.1 kB / 0.5784 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.2118, allocations: 1.257 MB / 0.5796 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/0.2119, allocations: 0 / 0.5796 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.212, allocations: 56 kB / 0.5797 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.2121, allocations: 35.98 kB / 0.5797 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.215, allocations: 1.455 MB / 0.5811 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009916/0.2249, allocations: 5.815 MB / 0.5868 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.227, allocations: 1.05 MB / 0.5878 GB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.2276, allocations: 334.5 kB / 0.5881 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.2278, allocations: 187.2 kB / 0.5883 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.2278, allocations: 43.56 kB / 0.5884 GB, free: 3.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 3.306e-06/0.2279, allocations: 0 / 0.5884 GB, free: 3.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002692/0.2305, allocations: 1.211 MB / 0.5895 GB, free: 1.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.2306, allocations: 68.41 kB / 0.5896 GB, free: 1.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.2318, allocations: 0.8287 MB / 0.5904 GB, free: 1.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.2319, allocations: 41.7 kB / 0.5905 GB, free: 1.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.2324, allocations: 0.5117 MB / 0.591 GB, free: 500 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.2327, allocations: 321.2 kB / 0.5913 GB, free: 176 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3522/0.5849, allocations: 209.3 kB / 0.5915 GB, free: 34.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.585, allocations: 397.3 kB / 0.5918 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.5857, allocations: 347.6 kB / 0.5922 GB, free: 34.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.5864, allocations: 0.6185 MB / 0.5928 GB, free: 33.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.5879, allocations: 0.997 MB / 0.5938 GB, free: 33.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.5879, allocations: 3.812 kB / 0.5938 GB, free: 33.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002271/0.5901, allocations: 1.191 MB / 0.5949 GB, free: 33.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5902, allocations: 12.36 kB / 0.5949 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.5902, allocations: 10.53 kB / 0.5949 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.5905, allocations: 67.95 kB / 0.595 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.5915, allocations: 267.8 kB / 0.5953 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.5932, allocations: 2.824 MB / 0.598 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/0.594, allocations: 160.4 kB / 0.5982 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.325e-05/0.5941, allocations: 49.22 kB / 0.5982 GB, free: 30.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * 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.0003704/0.5945, allocations: 259.4 kB / 0.5985 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.5947, allocations: 102.8 kB / 0.5986 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.5968, allocations: 1.104 MB / 0.5996 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.5968, allocations: 9.438 kB / 0.5997 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5968, allocations: 1.375 kB / 0.5997 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.5968, allocations: 4.266 kB / 0.5997 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/0.601, allocations: 3.179 MB / 0.6028 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.601, allocations: 6 kB / 0.6028 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008488/0.6018, allocations: 180 kB / 0.6029 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.6021, allocations: 63.77 kB / 0.603 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.6022, allocations: 28 kB / 0.603 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.6039, allocations: 2.824 MB / 0.6058 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.6039, allocations: 6.812 kB / 0.6058 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.6064, allocations: 1.485 MB / 0.6072 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.6067, allocations: 201.1 kB / 0.6074 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.6068, allocations: 30.7 kB / 0.6075 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.6075, allocations: 48.59 kB / 0.6075 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.6076, allocations: 82.12 kB / 0.6076 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.6077, allocations: 37.38 kB / 0.6076 GB, free: 23.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.6084, allocations: 0.5776 MB / 0.6082 GB, free: 23.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6084, allocations: 1.625 kB / 0.6082 GB, free: 23.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001129/0.6095, allocations: 307 kB / 0.6085 GB, free: 23.17 MB / 446.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 (93): * Single equations (assignments): 91 * 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.0002984/0.6098, allocations: 172.8 kB / 0.6086 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.6123, allocations: 1.054 MB / 0.6097 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.6123, allocations: 1.219 kB / 0.6097 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.6135, allocations: 0.5946 MB / 0.6103 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009133/0.6144, allocations: 123.4 kB / 0.6104 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.6177, allocations: 1.866 MB / 0.6122 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.6181, allocations: 1.021 MB / 0.6132 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005885/0.6187, allocations: 150.5 kB / 0.6133 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.619, allocations: 88.92 kB / 0.6134 GB, free: 20.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.619, allocations: 3.938 kB / 0.6134 GB, free: 20.22 MB / 446.1 MB Notification: Performance of Templates: time 0.02204/0.6411, allocations: 11.1 MB / 0.6243 GB, free: 17.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.264273643493652]