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.002439/0.002439, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002782/0.002782, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3668/0.3668, allocations: 32.81 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.347e-05, allocations: 5.406 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009675/0.009708, allocations: 6.718 MB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.01487, allocations: 2.178 MB / 384.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006429/0.01552, allocations: 23.94 kB / 384.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004024/0.01954, allocations: 1.598 MB / 385.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.02192, allocations: 0.6951 MB / 386.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.02376, allocations: 0.6877 MB / 387.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.0256, allocations: 1.205 MB / 388.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.02692, allocations: 0.7529 MB / 389.1 MB, free: 7.047 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.02806, allocations: 0.6859 MB / 389.8 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.02884, allocations: 478.6 kB / 390.3 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.029, allocations: 96 kB / 390.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007356/0.02974, allocations: 275.6 kB / 390.6 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.02998, allocations: 258.9 kB / 390.9 MB, free: 5.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005006/0.03048, allocations: 386.9 kB / 391.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.03272, allocations: 1.491 MB / 392.8 MB, free: 3.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.03272, allocations: 4 kB / 392.8 MB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03272, allocations: 0 / 392.8 MB, free: 3.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.03274, allocations: 0 / 392.8 MB, free: 3.395 MB / 362.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.0046/0.03734, allocations: 1.814 MB / 394.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.03738, allocations: 8.031 kB / 394.6 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009864/0.04724, allocations: 1.565 MB / 396.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.049, allocations: 498.3 kB / 396.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.04911, allocations: 90.78 kB / 396.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.04934, allocations: 128.1 kB / 396.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.05201, allocations: 1.289 MB / 398.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.05205, allocations: 3.953 kB / 398.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.05218, allocations: 52 kB / 398.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.05222, allocations: 28 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.05478, allocations: 1.325 MB / 399.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008197/0.06298, allocations: 3.77 MB / 403.3 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.06484, allocations: 0.8128 MB / 404.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.06549, allocations: 330.6 kB / 404.5 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.06571, allocations: 36.97 kB / 404.5 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.06576, allocations: 42.39 kB / 404.5 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.414e-06/0.06576, allocations: 4 kB / 404.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.00236/0.06812, allocations: 1.019 MB / 405.6 MB, free: 6.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.06818, allocations: 72.39 kB / 405.6 MB, free: 6.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008046/0.06899, allocations: 0.5844 MB / 406.2 MB, free: 5.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.06905, allocations: 41.7 kB / 406.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.06952, allocations: 0.5456 MB / 406.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.06985, allocations: 337.2 kB / 407.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.07022, allocations: 220.5 kB / 407.3 MB, free: 4.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003509/0.07057, allocations: 0.5665 MB / 407.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.07122, allocations: 318.5 kB / 408.2 MB, free: 3.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.07223, allocations: 0.6567 MB / 408.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.07392, allocations: 1.022 MB / 409.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.07393, allocations: 0 / 409.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002271/0.0762, allocations: 1.132 MB / 411 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.07622, allocations: 8.906 kB / 411 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.07624, allocations: 8 kB / 411 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.07666, allocations: 87.31 kB / 411.1 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.07768, allocations: 247.6 kB / 411.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.08109, allocations: 3.624 MB / 415 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/0.08203, allocations: 111.2 kB / 415.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/0.08212, allocations: 48.25 kB / 415.2 MB, free: 12.15 MB / 394.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.0006581/0.08278, allocations: 296.2 kB / 415.4 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.08301, allocations: 91.62 kB / 415.5 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.08533, allocations: 1.147 MB / 416.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.08534, allocations: 8 kB / 416.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.08534, allocations: 0 / 416.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.08535, allocations: 7.922 kB / 416.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/0.08971, allocations: 2.334 MB / 419 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.08972, allocations: 4 kB / 419 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.09049, allocations: 183.8 kB / 419.2 MB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.09084, allocations: 87.3 kB / 419.3 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/0.09091, allocations: 28 kB / 419.3 MB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.09401, allocations: 3.625 MB / 423 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.09402, allocations: 16.19 kB / 423 MB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.09666, allocations: 1.541 MB / 424.5 MB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.09683, allocations: 83.41 kB / 424.6 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.09699, allocations: 27.94 kB / 424.6 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/0.09789, allocations: 52.02 kB / 424.7 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.09813, allocations: 88.28 kB / 424.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.09824, allocations: 35.98 kB / 424.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007698/0.09901, allocations: 399 kB / 425.2 MB, free: 1.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09901, allocations: 0 / 425.2 MB, free: 1.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001891/0.1009, allocations: 319.2 kB / 425.5 MB, free: 1.219 MB / 394.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.0005757/0.1015, allocations: 178.7 kB / 425.7 MB, free: 1.039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.1046, allocations: 1.176 MB / 426.8 MB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.1046, allocations: 4 kB / 426.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.1062, allocations: 0.7333 MB / 427.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.1073, allocations: 97.58 kB / 427.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.1125, allocations: 1.813 MB / 429.5 MB, free: 13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.1132, allocations: 402.3 kB / 429.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007672/0.114, allocations: 121.6 kB / 430 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.1143, allocations: 72.48 kB / 430.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1143, allocations: 0 / 430.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of Templates: time 0.06203/0.1763, allocations: 8.857 MB / 438.9 MB, free: 3.629 MB / 410.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","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.952956410008483]