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.001255/0.001255, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001385/0.001385, allocations: 166.5 kB / 23.95 MB, free: 4.16 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.407/1.407, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.2041/0.2041, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 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 1.773e-06/1.773e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.845e-05, allocations: 5.375 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009133/0.009161, allocations: 6.126 MB / 446.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1974/0.2066, allocations: 2.133 MB / 448.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.2076, allocations: 25.41 kB / 448.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.211, allocations: 1.495 MB / 449.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.213, allocations: 0.685 MB / 450.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.2146, allocations: 0.6863 MB / 451.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.2162, allocations: 1.199 MB / 452.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.2174, allocations: 0.7554 MB / 453.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009859/0.2184, allocations: 0.6922 MB / 453.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.219, allocations: 466.7 kB / 454.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.2192, allocations: 93.94 kB / 454.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006908/0.2198, allocations: 279.5 kB / 454.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.22, allocations: 253.2 kB / 455 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.2204, allocations: 387.5 kB / 455.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.2221, allocations: 1.481 MB / 456.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2221, allocations: 0.7031 kB / 456.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.2221, allocations: 1.25 kB / 456.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.2221, allocations: 5.688 kB / 456.8 MB, free: 13.41 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.003921/0.226, allocations: 1.623 MB / 458.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2261, allocations: 8.719 kB / 458.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009329/0.2354, allocations: 1.263 MB / 459.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.2365, allocations: 490.9 kB / 460.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.2366, allocations: 91.28 kB / 460.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.2368, allocations: 123 kB / 460.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.239, allocations: 1.331 MB / 461.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.239, allocations: 2.812 kB / 461.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.2391, allocations: 50.88 kB / 461.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.2392, allocations: 28.89 kB / 461.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.2415, allocations: 1.36 MB / 463.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006548/0.2481, allocations: 3.316 MB / 466.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.2496, allocations: 0.7939 MB / 467.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.2501, allocations: 329 kB / 467.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.627e-05/0.2502, allocations: 30.41 kB / 467.6 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2503, allocations: 50.52 kB / 467.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.505e-06/0.2503, allocations: 0 / 467.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.001964/0.2522, allocations: 1.023 MB / 468.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.2522, allocations: 61.41 kB / 468.8 MB, free: 8.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.2527, allocations: 0.4906 MB / 469.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.2528, allocations: 41.92 kB / 469.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.253, allocations: 0.4901 MB / 469.8 MB, free: 7.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.2531, allocations: 317.2 kB / 470.1 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.2534, allocations: 192.8 kB / 470.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.2535, allocations: 365 kB / 470.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.254, allocations: 345.5 kB / 471 MB, free: 6.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.2547, allocations: 0.5614 MB / 471.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.2559, allocations: 0.9265 MB / 472.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.2559, allocations: 2.219 kB / 472.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001769/0.2577, allocations: 1.118 MB / 473.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2577, allocations: 9.688 kB / 473.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2577, allocations: 6.875 kB / 473.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.258, allocations: 66.66 kB / 473.7 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/0.2589, allocations: 250.8 kB / 473.9 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.2602, allocations: 2.571 MB / 476.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.261, allocations: 107.1 kB / 476.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/0.261, allocations: 46.42 kB / 476.6 MB, free: 2.309 MB / 366.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.0003487/0.2614, allocations: 245.4 kB / 476.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.2615, allocations: 69.05 kB / 476.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.2632, allocations: 1.082 MB / 478 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2632, allocations: 7.156 kB / 478 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2633, allocations: 1.812 kB / 478 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.2633, allocations: 3.984 kB / 478 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/0.2662, allocations: 2.072 MB / 480.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.2662, allocations: 7 kB / 480.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/0.2669, allocations: 181.5 kB / 480.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.2671, allocations: 64.52 kB / 480.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.2671, allocations: 22.56 kB / 480.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.2691, allocations: 2.572 MB / 483 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.2691, allocations: 9.062 kB / 483 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.2713, allocations: 1.437 MB / 484.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2714, allocations: 79.41 kB / 484.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.2715, allocations: 27.95 kB / 484.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.2722, allocations: 52.03 kB / 484.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.2723, allocations: 88.34 kB / 484.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.2724, allocations: 39.92 kB / 484.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004154/0.2728, allocations: 343.1 kB / 485 MB, free: 11.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2728, allocations: 0 / 485 MB, free: 11.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001028/0.2738, allocations: 319.2 kB / 485.3 MB, free: 11.37 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.0002776/0.2741, allocations: 173.7 kB / 485.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.2759, allocations: 1.023 MB / 486.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2759, allocations: 0 / 486.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009715/0.2769, allocations: 0.5971 MB / 487.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.2775, allocations: 87.09 kB / 487.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.2806, allocations: 1.697 MB / 488.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.281, allocations: 402.3 kB / 489.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004504/0.2814, allocations: 117.6 kB / 489.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.2817, allocations: 76.47 kB / 489.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2817, allocations: 0 / 489.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of Templates: time 0.01746/0.2991, allocations: 8.732 MB / 498.2 MB, free: 14.43 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] 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.057661667466164]