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.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.00105/0.00105, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001337/0.001337, allocations: 161.5 kB / 25.61 MB, free: 8.586 MB / 18.57 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.048/1.048, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1393/0.1393, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.092e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00526/0.00529, allocations: 6.615 MB / 383.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.009145, allocations: 2.171 MB / 386 MB, free: 16.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.009787, allocations: 23.94 kB / 386.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.0115, allocations: 1.571 MB / 387.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.0128, allocations: 0.6795 MB / 388.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.01367, allocations: 0.6842 MB / 389 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009437/0.01462, allocations: 1.192 MB / 390.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000797/0.01541, allocations: 0.7568 MB / 391 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.01605, allocations: 0.6936 MB / 391.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.01644, allocations: 482.6 kB / 392.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.786e-05/0.01654, allocations: 96 kB / 392.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005371/0.01708, allocations: 275.6 kB / 392.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.01718, allocations: 258.9 kB / 392.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.0174, allocations: 383 kB / 393.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008696/0.01827, allocations: 1.012 MB / 394.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01827, allocations: 0 / 394.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01827, allocations: 0 / 394.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.01829, allocations: 0 / 394.1 MB, free: 8.652 MB / 314.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.002477/0.02077, allocations: 1.767 MB / 395.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.02081, allocations: 15.98 kB / 395.9 MB, free: 6.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004481/0.02529, allocations: 1.557 MB / 397.5 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.02587, allocations: 498.3 kB / 397.9 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.02592, allocations: 86.78 kB / 398 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.02604, allocations: 132.1 kB / 398.2 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.02684, allocations: 0.911 MB / 399.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.02686, allocations: 0 / 399.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.02693, allocations: 48 kB / 399.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.02695, allocations: 28 kB / 399.1 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.02762, allocations: 0.6736 MB / 399.8 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.03133, allocations: 3.267 MB / 403.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/0.03214, allocations: 0.6175 MB / 403.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.03232, allocations: 172.6 kB / 403.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.03239, allocations: 32.97 kB / 403.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.03242, allocations: 46.39 kB / 403.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 2.394e-06/0.03242, allocations: 0 / 403.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.0008964/0.03332, allocations: 0.6242 MB / 404.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.03335, allocations: 64.41 kB / 404.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.03367, allocations: 482.1 kB / 405.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.03371, allocations: 41.7 kB / 405.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.03395, allocations: 0.5416 MB / 405.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.03413, allocations: 317.2 kB / 406 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.03432, allocations: 208.4 kB / 406.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.0345, allocations: 0.5507 MB / 406.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.03467, allocations: 134.5 kB / 406.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.03501, allocations: 461.4 kB / 407.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.03558, allocations: 0.6465 MB / 408 MB, free: 10.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.03559, allocations: 7.938 kB / 408 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008868/0.03647, allocations: 0.7504 MB / 408.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.03649, allocations: 4 kB / 408.7 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.0365, allocations: 12.09 kB / 408.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.03672, allocations: 79.25 kB / 408.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.03722, allocations: 247.6 kB / 409.1 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.03879, allocations: 3.462 MB / 412.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.0392, allocations: 115.2 kB / 412.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.03924, allocations: 35.98 kB / 412.7 MB, free: 5.23 MB / 330.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.0001932/0.03943, allocations: 216.3 kB / 412.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.03953, allocations: 95.56 kB / 413 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.04035, allocations: 0.83 MB / 413.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.04036, allocations: 8 kB / 413.8 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.04036, allocations: 4 kB / 413.8 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.04037, allocations: 3.984 kB / 413.8 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.04207, allocations: 1.596 MB / 415.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.04207, allocations: 8.125 kB / 415.4 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.04243, allocations: 183.7 kB / 415.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.04259, allocations: 75.31 kB / 415.7 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.04263, allocations: 27.98 kB / 415.7 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.0442, allocations: 3.454 MB / 419.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.04421, allocations: 11.94 kB / 419.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.04512, allocations: 1.041 MB / 420.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.0452, allocations: 87.34 kB / 420.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.04526, allocations: 31.92 kB / 420.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.04569, allocations: 48.08 kB / 420.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.04582, allocations: 88.34 kB / 420.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.04586, allocations: 27.98 kB / 420.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002245/0.04608, allocations: 299 kB / 420.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04608, allocations: 0 / 420.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007037/0.04678, allocations: 315.3 kB / 421.1 MB, free: 12.24 MB / 346.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.0002408/0.04702, allocations: 182.9 kB / 421.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008372/0.04786, allocations: 0.8513 MB / 422.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.04787, allocations: 0 / 422.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.04834, allocations: 0.5934 MB / 422.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.04878, allocations: 108 kB / 422.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.05098, allocations: 1.715 MB / 424.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.0511, allocations: 177.8 kB / 424.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.05138, allocations: 125.6 kB / 424.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.05168, allocations: 218.1 kB / 425.1 MB, free: 8.043 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.05168, allocations: 0 / 425.1 MB, free: 8.043 MB / 346.7 MB Notification: Performance of Templates: time 0.0142/0.06588, allocations: 9.909 MB / 435 MB, free: 14.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7075988319702446]