Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.0009959/0.0009959, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009874/0.0009874, allocations: 161.4 kB / 24.56 MB, free: 20 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.11/1.11, allocations: 177.1 MB / 205 MB, free: 5.285 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.254/0.254, allocations: 29.41 MB / 290.9 MB, free: 2.441 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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.134e-05/6.425e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006903/0.006968, allocations: 4.233 MB / 373.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.009323, allocations: 1.461 MB / 375.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.009577, allocations: 15.88 kB / 375.4 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006431/0.01022, allocations: 155.1 kB / 375.5 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.01073, allocations: 242.5 kB / 375.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.01151, allocations: 267.1 kB / 376 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007225/0.01223, allocations: 0.5689 MB / 376.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.01265, allocations: 250.7 kB / 376.8 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.01309, allocations: 343.1 kB / 377.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.01343, allocations: 299.2 kB / 377.4 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.01348, allocations: 36 kB / 377.5 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.01375, allocations: 147.7 kB / 377.6 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.01392, allocations: 251.4 kB / 377.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.01406, allocations: 167.6 kB / 378 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.01455, allocations: 478.4 kB / 378.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01455, allocations: 0 / 378.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01455, allocations: 0 / 378.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.01456, allocations: 0 / 378.5 MB, free: 2.113 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009536/0.01551, allocations: 0.8132 MB / 379.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.01556, allocations: 15.98 kB / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/0.01609, allocations: 172.5 kB / 379.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.01652, allocations: 366.7 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.01655, allocations: 33.36 kB / 379.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.01666, allocations: 48.73 kB / 379.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.01717, allocations: 0.5102 MB / 380.4 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.01719, allocations: 7.922 kB / 380.4 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.01722, allocations: 16 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.252e-05/0.01731, allocations: 28.98 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.01763, allocations: 237.6 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.01987, allocations: 3.472 MB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.02005, allocations: 138 kB / 384.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.02013, allocations: 55.42 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.02016, allocations: 7.938 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.02018, allocations: 37.38 kB / 384.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.02018, allocations: 0 / 384.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008939/0.02108, allocations: 0.5914 MB / 385 MB, free: 11.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.02112, allocations: 85.23 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.02141, allocations: 394.5 kB / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.02143, allocations: 29.7 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.0216, allocations: 362.6 kB / 385.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.02165, allocations: 83.31 kB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.02174, allocations: 91.8 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.02188, allocations: 0.5157 MB / 386.6 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.02197, allocations: 56.95 kB / 386.6 MB, free: 9.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.02219, allocations: 343.2 kB / 387 MB, free: 9.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.02268, allocations: 452.4 kB / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.02269, allocations: 0 / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000596/0.02328, allocations: 428.2 kB / 387.8 MB, free: 8.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.0233, allocations: 8 kB / 387.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/0.02354, allocations: 154.6 kB / 388 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.02381, allocations: 75.61 kB / 388 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.024, allocations: 95.83 kB / 388.1 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.0251, allocations: 1.854 MB / 390 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.02524, allocations: 19.95 kB / 390 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.02526, allocations: 24 kB / 390 MB, free: 5.715 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.02539, allocations: 188.4 kB / 390.2 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.02544, allocations: 47.69 kB / 390.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.02592, allocations: 192.7 kB / 390.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.02592, allocations: 4 kB / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02593, allocations: 3.984 kB / 390.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.02594, allocations: 8.031 kB / 390.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.02695, allocations: 0.6337 MB / 391.1 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.02695, allocations: 4 kB / 391.1 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.02717, allocations: 51.91 kB / 391.2 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.02718, allocations: 4 kB / 391.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.02721, allocations: 7.984 kB / 391.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.02722, allocations: 7.938 kB / 391.2 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.02722, allocations: 0 / 391.2 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.0277, allocations: 415 kB / 391.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.02777, allocations: 27.81 kB / 391.6 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.02781, allocations: 11.98 kB / 391.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.02791, allocations: 8 kB / 391.6 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.02796, allocations: 15.97 kB / 391.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.02798, allocations: 8 kB / 391.7 MB, free: 3.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.02815, allocations: 239.1 kB / 391.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02815, allocations: 0 / 391.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.02855, allocations: 99.94 kB / 392 MB, free: 3.668 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 (24): * Single equations (assignments): 23 * Array equations: 0 * 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.0001404/0.02869, allocations: 115.1 kB / 392.1 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.02928, allocations: 400.1 kB / 392.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02929, allocations: 0.625 kB / 392.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.02939, allocations: 87.52 kB / 392.6 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.02979, allocations: 71.36 kB / 392.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.03142, allocations: 0.8425 MB / 393.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.03153, allocations: 141.2 kB / 393.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.03171, allocations: 99.16 kB / 393.7 MB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.03178, allocations: 28.5 kB / 393.7 MB, free: 1.809 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03178, allocations: 4 kB / 393.7 MB, free: 1.805 MB / 362.7 MB Notification: Performance of Templates: time 0.006571/0.03835, allocations: 3.6 MB / 397.4 MB, free: 14.27 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.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.39256100775674]