Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001221/0.001221, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0016/0.0016, allocations: 161 kB / 24.56 MB, free: 16 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.029/1.029, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2328/0.2328, allocations: 29.41 MB / 290.9 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.746e-05, allocations: 2.312 kB / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005303/0.005331, allocations: 4.252 MB / 373.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.007755, allocations: 1.523 MB / 375.4 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.008026, allocations: 19.81 kB / 375.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.008626, allocations: 147.1 kB / 375.6 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000658/0.009284, allocations: 286.4 kB / 375.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.009964, allocations: 267.1 kB / 376.1 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.01067, allocations: 0.6233 MB / 376.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.01101, allocations: 199.9 kB / 376.9 MB, free: 3.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.01155, allocations: 355.1 kB / 377.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.01205, allocations: 359.1 kB / 377.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.01211, allocations: 40 kB / 377.7 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.01258, allocations: 235.5 kB / 377.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.01284, allocations: 247.4 kB / 378.1 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.01303, allocations: 183.6 kB / 378.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.0138, allocations: 0.5412 MB / 378.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.0138, allocations: 0 / 378.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0138, allocations: 0 / 378.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.01381, allocations: 4 kB / 378.9 MB, free: 1.691 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001161/0.01497, allocations: 0.8132 MB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.01501, allocations: 11.98 kB / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007101/0.01572, allocations: 176.4 kB / 379.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.0163, allocations: 374.7 kB / 380.2 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.01633, allocations: 21.38 kB / 380.2 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.01646, allocations: 44.73 kB / 380.3 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.01729, allocations: 480.6 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.01731, allocations: 3.938 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.01735, allocations: 12 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.01751, allocations: 68.95 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.01807, allocations: 305.6 kB / 381.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.0209, allocations: 2.616 MB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.02119, allocations: 170.8 kB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.02133, allocations: 95.39 kB / 384 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.02137, allocations: 11.92 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.0214, allocations: 45.33 kB / 384.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/0.02141, allocations: 0 / 384.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001342/0.02275, allocations: 0.7987 MB / 384.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.02279, allocations: 85.05 kB / 385 MB, free: 11.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.02304, allocations: 326.2 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.02307, allocations: 33.7 kB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.02322, allocations: 306.9 kB / 385.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.02332, allocations: 146.8 kB / 385.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.02343, allocations: 91.8 kB / 385.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.02359, allocations: 0.5157 MB / 386.4 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.02372, allocations: 72.95 kB / 386.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.02396, allocations: 278 kB / 386.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.02437, allocations: 369.8 kB / 387.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02438, allocations: 0 / 387.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000984/0.02536, allocations: 491.7 kB / 387.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.02538, allocations: 10.34 kB / 387.6 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004542/0.02584, allocations: 257.3 kB / 387.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.0262, allocations: 99.84 kB / 387.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.02645, allocations: 83.83 kB / 388 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.02861, allocations: 3.652 MB / 391.6 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.02883, allocations: 23.97 kB / 391.7 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.02887, allocations: 20 kB / 391.7 MB, free: 4.047 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.02904, allocations: 176.5 kB / 391.8 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.02916, allocations: 67.69 kB / 391.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.0296, allocations: 276.7 kB / 392.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.02962, allocations: 16 kB / 392.2 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.02962, allocations: 0 / 392.2 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.02963, allocations: 3.984 kB / 392.2 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.03064, allocations: 0.7208 MB / 392.9 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.03064, allocations: 4 kB / 392.9 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.03089, allocations: 67.89 kB / 393 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.0309, allocations: 8.062 kB / 393 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.03092, allocations: 8 kB / 393 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.03092, allocations: 0 / 393 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.03093, allocations: 4 kB / 393 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.03149, allocations: 0.514 MB / 393.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.0316, allocations: 59.72 kB / 393.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.03163, allocations: 8 kB / 393.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.03177, allocations: 19.98 kB / 393.6 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.03182, allocations: 23.95 kB / 393.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.03184, allocations: 8 kB / 393.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.03199, allocations: 219 kB / 393.9 MB, free: 1.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03199, allocations: 3.938 kB / 393.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.03247, allocations: 119.9 kB / 394 MB, free: 1.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.03268, allocations: 131.1 kB / 394.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007808/0.03346, allocations: 0.6126 MB / 394.7 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03346, allocations: 0 / 394.7 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.03359, allocations: 119.5 kB / 394.8 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.03392, allocations: 68.62 kB / 394.9 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.03531, allocations: 0.9438 MB / 395.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.0354, allocations: 148.9 kB / 396 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.03556, allocations: 87.17 kB / 396.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.03562, allocations: 28.5 kB / 396.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03563, allocations: 0 / 396.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of Templates: time 0.007023/0.04265, allocations: 4.293 MB / 400.4 MB, free: 11.17 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","",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.465646636672318]