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.001387/0.001387, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001451/0.001451, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.633/1.633, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.213/0.213, allocations: 34.28 MB / 295 MB, free: 14.56 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 2.725e-06/2.725e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.319e-05/4.592e-05, allocations: 2.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.1979/0.1979, allocations: 6.592 MB / 449.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.2022, allocations: 2.218 MB / 451.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006527/0.2029, allocations: 27.19 kB / 451.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.2063, allocations: 1.73 MB / 453.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.2082, allocations: 0.7001 MB / 453.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.2096, allocations: 0.7329 MB / 454.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.211, allocations: 1.293 MB / 456 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.2123, allocations: 0.8586 MB / 456.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.2133, allocations: 0.7501 MB / 457.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.214, allocations: 0.5053 MB / 458.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.2141, allocations: 113 kB / 458.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000763/0.2149, allocations: 292 kB / 458.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.2151, allocations: 272.2 kB / 458.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.2155, allocations: 421.5 kB / 459.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.2182, allocations: 1.632 MB / 460.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2182, allocations: 0 / 460.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2182, allocations: 1.125 kB / 460.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.2182, allocations: 0 / 460.8 MB, free: 10.59 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.004749/0.2229, allocations: 1.751 MB / 462.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.223, allocations: 8.688 kB / 462.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009953/0.2329, allocations: 1.266 MB / 463.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.2343, allocations: 0.5066 MB / 464.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.2344, allocations: 99.62 kB / 464.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.2346, allocations: 135.8 kB / 464.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.2371, allocations: 1.424 MB / 466 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.2372, allocations: 10.67 kB / 466 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.2373, allocations: 51.88 kB / 466 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.2373, allocations: 32.56 kB / 466.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.2399, allocations: 1.443 MB / 467.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007109/0.247, allocations: 3.608 MB / 471.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.2487, allocations: 0.8113 MB / 471.9 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.2492, allocations: 339.3 kB / 472.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/0.2493, allocations: 29.34 kB / 472.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2493, allocations: 46.12 kB / 472.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=90): time 3.126e-06/0.2493, allocations: 2.156 kB / 472.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=90): time 0.002143/0.2515, allocations: 1.037 MB / 473.4 MB, free: 4.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.2515, allocations: 62.03 kB / 473.4 MB, free: 4.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/0.252, allocations: 0.5112 MB / 473.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.2521, allocations: 41.83 kB / 474 MB, free: 4.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.2523, allocations: 0.5367 MB / 474.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.2524, allocations: 322.4 kB / 474.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.2527, allocations: 203.7 kB / 475 MB, free: 3.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.2528, allocations: 372.3 kB / 475.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.2534, allocations: 348.5 kB / 475.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.2541, allocations: 0.6241 MB / 476.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.2554, allocations: 0.996 MB / 477.4 MB, free: 1.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.2554, allocations: 2.375 kB / 477.4 MB, free: 1.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00197/0.2574, allocations: 1.169 MB / 478.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2574, allocations: 8.719 kB / 478.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2574, allocations: 10.25 kB / 478.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/0.2577, allocations: 62.36 kB / 478.6 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.2587, allocations: 258.7 kB / 478.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.2607, allocations: 2.569 MB / 481.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/0.2616, allocations: 113 kB / 481.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.2617, allocations: 58.48 kB / 481.6 MB, free: 14.01 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.0004806/0.2622, allocations: 268.6 kB / 481.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.2623, allocations: 68.61 kB / 481.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.2643, allocations: 1.089 MB / 483 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2643, allocations: 10.47 kB / 483 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2643, allocations: 0 / 483 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.2643, allocations: 9.25 kB / 483 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/0.2683, allocations: 2.101 MB / 485.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.2683, allocations: 8.031 kB / 485.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.2691, allocations: 183.7 kB / 485.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.2693, allocations: 57.69 kB / 485.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.2694, allocations: 31.98 kB / 485.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.2718, allocations: 2.553 MB / 488 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.2718, allocations: 7.938 kB / 488 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.2743, allocations: 1.451 MB / 489.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.2745, allocations: 87.41 kB / 489.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.2746, allocations: 27.88 kB / 489.5 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.2753, allocations: 60.03 kB / 489.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.2754, allocations: 84.34 kB / 489.7 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.2755, allocations: 39.98 kB / 489.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004908/0.276, allocations: 355.1 kB / 490.1 MB, free: 5.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.276, allocations: 0 / 490.1 MB, free: 5.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00123/0.2772, allocations: 339.2 kB / 490.4 MB, free: 5.43 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.0003432/0.2776, allocations: 170.9 kB / 490.6 MB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.2799, allocations: 1.051 MB / 491.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.2799, allocations: 4 kB / 491.6 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.2809, allocations: 0.593 MB / 492.2 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.2816, allocations: 95.98 kB / 492.3 MB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.2853, allocations: 1.791 MB / 494.1 MB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.2859, allocations: 423.5 kB / 494.5 MB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005005/0.2864, allocations: 129.9 kB / 494.6 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.2866, allocations: 76.47 kB / 494.7 MB, free: 0.918 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2866, allocations: 0 / 494.7 MB, free: 0.918 MB / 382.1 MB Notification: Performance of Templates: time 0.01975/0.3064, allocations: 8.892 MB / 0.4918 GB, free: 8.145 MB / 398.1 MB " [Timeout remaining time 660] 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: 5.575293079018593]