Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 86.56 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.375e-05, allocations: 4.812 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.2336/0.2336, allocations: 6.587 MB / 449.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.2378, allocations: 2.223 MB / 451.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004975/0.2383, allocations: 28.25 kB / 451.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.2421, allocations: 1.719 MB / 453.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.244, allocations: 0.7043 MB / 453.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.2455, allocations: 0.7235 MB / 454.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.247, allocations: 1.29 MB / 455.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.2483, allocations: 0.8586 MB / 456.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.2494, allocations: 0.7499 MB / 457.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.2501, allocations: 0.5138 MB / 458.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.2503, allocations: 105.9 kB / 458.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.2511, allocations: 290.8 kB / 458.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2513, allocations: 276.2 kB / 458.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004789/0.2517, allocations: 420.4 kB / 459.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.2537, allocations: 1.632 MB / 460.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2537, allocations: 1.062 kB / 460.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2537, allocations: 0.6094 kB / 460.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.2537, allocations: 0 / 460.8 MB, free: 10.5 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004536/0.2583, allocations: 1.75 MB / 462.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2583, allocations: 9.031 kB / 462.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.2684, allocations: 1.266 MB / 463.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.2696, allocations: 0.5029 MB / 464.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.2696, allocations: 100.8 kB / 464.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.2698, allocations: 135.3 kB / 464.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.2722, allocations: 1.432 MB / 465.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.2723, allocations: 6.25 kB / 466 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.2724, allocations: 58.09 kB / 466 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.2724, allocations: 32.41 kB / 466 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.2749, allocations: 1.439 MB / 467.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007692/0.2826, allocations: 3.603 MB / 471.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.2845, allocations: 0.82 MB / 471.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.285, allocations: 336.4 kB / 472.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.2851, allocations: 33.06 kB / 472.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.2851, allocations: 39.78 kB / 472.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=90): time 2.414e-06/0.2851, allocations: 2.969 kB / 472.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=90): time 0.002184/0.2873, allocations: 1.044 MB / 473.4 MB, free: 4.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.2874, allocations: 62.03 kB / 473.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.2879, allocations: 0.5112 MB / 473.9 MB, free: 3.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.288, allocations: 41.83 kB / 474 MB, free: 3.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.2882, allocations: 0.5408 MB / 474.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.2884, allocations: 314.7 kB / 474.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.2887, allocations: 202.7 kB / 475 MB, free: 3.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.2888, allocations: 372.4 kB / 475.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.2894, allocations: 350.3 kB / 475.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/0.2901, allocations: 0.6191 MB / 476.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.2916, allocations: 0.9964 MB / 477.3 MB, free: 1.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.2916, allocations: 1.438 kB / 477.3 MB, free: 1.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001955/0.2936, allocations: 1.169 MB / 478.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.2936, allocations: 8.5 kB / 478.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.2936, allocations: 8.125 kB / 478.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.2939, allocations: 64.23 kB / 478.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.295, allocations: 258.8 kB / 478.8 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.2974, allocations: 2.576 MB / 481.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009848/0.2984, allocations: 112.5 kB / 481.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.681e-05/0.2985, allocations: 61.52 kB / 481.6 MB, free: 13.91 MB / 382.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.0005155/0.299, allocations: 262.4 kB / 481.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.2991, allocations: 65.86 kB / 481.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.3012, allocations: 1.083 MB / 483 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3012, allocations: 10.5 kB / 483 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3012, allocations: 0 / 483 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.3012, allocations: 9.062 kB / 483 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.3053, allocations: 2.101 MB / 485.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3053, allocations: 8 kB / 485.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.3061, allocations: 179.7 kB / 485.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.3063, allocations: 61.67 kB / 485.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.3064, allocations: 31.98 kB / 485.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.3087, allocations: 2.561 MB / 487.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.3087, allocations: 7.938 kB / 487.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.3112, allocations: 1.447 MB / 489.4 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3114, allocations: 79.42 kB / 489.5 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3115, allocations: 31.88 kB / 489.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/0.3122, allocations: 63.97 kB / 489.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.3124, allocations: 80.34 kB / 489.6 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.3125, allocations: 39.98 kB / 489.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005008/0.313, allocations: 355.1 kB / 490 MB, free: 5.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 490 MB, free: 5.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001277/0.3143, allocations: 339.2 kB / 490.4 MB, free: 5.332 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 (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.0003821/0.3146, allocations: 167 kB / 490.5 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.3168, allocations: 1.054 MB / 491.6 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3168, allocations: 0 / 491.6 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009907/0.3178, allocations: 0.5972 MB / 492.2 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.3185, allocations: 105 kB / 492.3 MB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.3218, allocations: 1.794 MB / 494.1 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.3223, allocations: 423.5 kB / 494.5 MB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004737/0.3228, allocations: 125.9 kB / 494.6 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.323, allocations: 80.47 kB / 494.7 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.323, allocations: 0 / 494.7 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of Templates: time 0.01914/0.3422, allocations: 8.903 MB / 0.4918 GB, free: 8.02 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.583384122699499]