Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001033/0.001033, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.002137/0.002137, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 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.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2669/0.2669, allocations: 29.43 MB / 291.2 MB, free: 2.477 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.341e-05, allocations: 3.016 kB / 316.9 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004129/0.004142, allocations: 4.042 MB / 320.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.005656, allocations: 0.9669 MB / 321.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.005827, allocations: 23.81 kB / 321.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.005995, allocations: 43.56 kB / 321.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.00646, allocations: 218.6 kB / 322.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.006641, allocations: 95.8 kB / 322.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.007063, allocations: 0.4904 MB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.007248, allocations: 110.3 kB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.007693, allocations: 327.1 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.007948, allocations: 195.5 kB / 323.3 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.007988, allocations: 24 kB / 323.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-05/0.008058, allocations: 31.98 kB / 323.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.008156, allocations: 127.6 kB / 323.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.008259, allocations: 123.7 kB / 323.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.008524, allocations: 282.9 kB / 323.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.008526, allocations: 0 / 323.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.008526, allocations: 0 / 323.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.008531, allocations: 0 / 323.9 MB, free: 8.914 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006144/0.009145, allocations: 0.5548 MB / 324.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.009181, allocations: 15.98 kB / 324.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.009287, allocations: 52.89 kB / 324.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.009572, allocations: 292.4 kB / 324.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.009589, allocations: 24.78 kB / 324.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.009624, allocations: 24 kB / 324.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.009845, allocations: 245.8 kB / 325.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.009855, allocations: 3.938 kB / 325.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.009871, allocations: 12 kB / 325.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.009878, allocations: 8 kB / 325.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.00998, allocations: 79.38 kB / 325.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009225/0.0109, allocations: 1.14 MB / 326.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.01101, allocations: 89.11 kB / 326.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.01105, allocations: 33.77 kB / 326.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.01107, allocations: 7.938 kB / 326.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.01109, allocations: 34.56 kB / 326.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.01109, allocations: 4 kB / 326.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002748/0.01137, allocations: 148.3 kB / 326.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.0114, allocations: 81.11 kB / 326.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.01156, allocations: 274.8 kB / 327 MB, free: 5.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.01158, allocations: 29.7 kB / 327 MB, free: 5.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.01165, allocations: 192.4 kB / 327.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.01169, allocations: 59.52 kB / 327.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.01173, allocations: 45.92 kB / 327.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004225/0.01216, allocations: 346.7 kB / 327.7 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.01219, allocations: 20.58 kB / 327.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.01226, allocations: 108.9 kB / 327.8 MB, free: 4.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.0124, allocations: 166.6 kB / 328 MB, free: 4.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01241, allocations: 0 / 328 MB, free: 4.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001616/0.01257, allocations: 156.4 kB / 328.1 MB, free: 4.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.01258, allocations: 8 kB / 328.1 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01258, allocations: 8 kB / 328.1 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.0126, allocations: 4 kB / 328.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.01272, allocations: 51.91 kB / 328.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.01272, allocations: 7.938 kB / 328.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.0128, allocations: 27.78 kB / 328.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01281, allocations: 15.98 kB / 328.2 MB, free: 4.258 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.385e-05/0.0129, allocations: 124.6 kB / 328.4 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.01293, allocations: 27.92 kB / 328.4 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.01308, allocations: 123.5 kB / 328.5 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01308, allocations: 4 kB / 328.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01308, allocations: 4 kB / 328.5 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.01309, allocations: 7.922 kB / 328.5 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01325, allocations: 156.5 kB / 328.7 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01325, allocations: 0 / 328.7 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.01334, allocations: 35.98 kB / 328.7 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01334, allocations: 0 / 328.7 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01335, allocations: 3.984 kB / 328.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01336, allocations: 4 kB / 328.7 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01336, allocations: 3.938 kB / 328.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.01355, allocations: 241.4 kB / 329 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.01358, allocations: 35.72 kB / 329 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.01361, allocations: 4 kB / 329 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.01367, allocations: 12 kB / 329 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.01369, allocations: 11.97 kB / 329 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.01369, allocations: 0 / 329 MB, free: 3.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.01376, allocations: 96.62 kB / 329.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01376, allocations: 0 / 329.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.01396, allocations: 75.83 kB / 329.2 MB, free: 3.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (zLoadAC.psi) * 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 (19): * Single equations (assignments): 18 * 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 7.899e-05/0.01403, allocations: 84.39 kB / 329.3 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.01416, allocations: 104.5 kB / 329.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.01417, allocations: 4 kB / 329.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.01421, allocations: 44.72 kB / 329.4 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.01448, allocations: 80.41 kB / 329.5 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/0.01534, allocations: 0.5792 MB / 330.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.726e-05/0.0154, allocations: 116.5 kB / 330.2 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.825e-05/0.01549, allocations: 38.95 kB / 330.2 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.01562, allocations: 99.34 kB / 330.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of SimCode: time 1.442e-06/0.01562, allocations: 0 / 330.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of Templates: time 0.004909/0.02053, allocations: 3.306 MB / 333.6 MB, free: 14.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i,meter.p,meter.v Variables in the result:meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.av,meter.i,meter.p,meter.puUnits,meter.tcst,meter.v,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.coef,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,trsSignal[1].coef,trsSignal[1].s_end,trsSignal[1].s_start,trsSignal[1].t_change,trsSignal[1].t_duration,trsSignal[2].coef,trsSignal[2].s_end,trsSignal[2].s_start,trsSignal[2].t_change,trsSignal[2].t_duration,voltage.S_nom,voltage.V_base,voltage.V_nom,voltage.alpha0,voltage.f,voltage.fType,voltage.pol,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0eff,zLoadAC.S_base,zLoadAC.S_nom,zLoadAC.V2_nom,zLoadAC.V_nom,zLoadAC.Z_start[1],zLoadAC.Z_start[2],zLoadAC.dynType,zLoadAC.i_start,zLoadAC.pq0[1],zLoadAC.pq0[2],zLoadAC.psi_start,zLoadAC.puUnits,zLoadAC.use_pq_in,zLoadAC.v_start filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff.mat", vars={"meter.p"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff.ref.mat", vars={"meter.p"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2044992479495704]