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.001441/0.001441, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001142/0.001142, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.17/1.17, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.341/0.341, allocations: 29.42 MB / 291.2 MB, free: 2.383 MB / 266.7 MB " [Timeout remaining time 179] 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 2.675e-06/2.675e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.648e-05/3.915e-05, allocations: 2.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006545/0.006584, allocations: 4.013 MB / 374.1 MB, free: 6.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.008692, allocations: 0.9431 MB / 375.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.009033, allocations: 19.81 kB / 375.1 MB, free: 5.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.009307, allocations: 55.55 kB / 375.2 MB, free: 5.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008284/0.01014, allocations: 214.6 kB / 375.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.01052, allocations: 99.73 kB / 375.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007324/0.01125, allocations: 498.1 kB / 376 MB, free: 4.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.01154, allocations: 84 kB / 376 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005688/0.01211, allocations: 327.2 kB / 376.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.01247, allocations: 203.4 kB / 376.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.01253, allocations: 24 kB / 376.6 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.851e-05/0.01263, allocations: 28 kB / 376.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.01277, allocations: 131.6 kB / 376.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.0129, allocations: 119.7 kB / 376.8 MB, free: 3.941 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.01336, allocations: 278.9 kB / 377.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.01336, allocations: 0 / 377.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.01337, allocations: 8 kB / 377.1 MB, free: 3.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.01337, allocations: 0 / 377.1 MB, free: 3.66 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001085/0.01446, allocations: 0.6876 MB / 377.8 MB, free: 2.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.841e-05/0.01453, allocations: 11.98 kB / 377.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.01474, allocations: 68.69 kB / 377.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.01516, allocations: 309.8 kB / 378.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.01519, allocations: 24.78 kB / 378.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.01524, allocations: 28 kB / 378.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.01555, allocations: 272.4 kB / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01556, allocations: 0 / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.01559, allocations: 12 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.0156, allocations: 4 kB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.01573, allocations: 91.3 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01717, allocations: 1.567 MB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.01737, allocations: 114 kB / 380.3 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.01742, allocations: 43.3 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.01745, allocations: 0 / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.01749, allocations: 37.39 kB / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.155e-06/0.01749, allocations: 0 / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008769/0.01837, allocations: 353.6 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.01842, allocations: 84.84 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.01872, allocations: 338.1 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01873, allocations: 29.7 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.01888, allocations: 274.7 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.01891, allocations: 55.52 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.01898, allocations: 55.3 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004875/0.01947, allocations: 0.5196 MB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.01951, allocations: 23.97 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.01965, allocations: 171.3 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.01983, allocations: 210.5 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01984, allocations: 4 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002337/0.02007, allocations: 201.4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.02009, allocations: 12.09 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.0201, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.02012, allocations: 7.938 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.02029, allocations: 51.91 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.0203, allocations: 11.94 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/0.02037, allocations: 11.98 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.02039, allocations: 11.94 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * 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 0.0001153/0.0205, allocations: 172.5 kB / 382.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.02055, allocations: 35.81 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.02078, allocations: 147.5 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.02078, allocations: 7.938 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.02078, allocations: 0 / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02079, allocations: 0 / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.02126, allocations: 449.5 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02126, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.02139, allocations: 35.92 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.02139, allocations: 0 / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.0214, allocations: 11.94 kB / 383.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.02141, allocations: 0 / 383.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.02141, allocations: 4.031 kB / 383.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/0.02194, allocations: 335 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.02199, allocations: 35.73 kB / 384 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.02202, allocations: 3.938 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.02209, allocations: 12 kB / 384 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.02212, allocations: 7.984 kB / 384 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.02213, allocations: 11.98 kB / 384 MB, free: 12.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.02225, allocations: 210.9 kB / 384.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02225, allocations: 0 / 384.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.02248, allocations: 60 kB / 384.3 MB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 19 * 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.0001277/0.02261, allocations: 99.27 kB / 384.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.02278, allocations: 119.5 kB / 384.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02279, allocations: 0 / 384.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.02286, allocations: 59.44 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.02327, allocations: 71.78 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.02444, allocations: 0.5954 MB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.293e-05/0.02452, allocations: 116.5 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.02463, allocations: 38.95 kB / 385.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.02479, allocations: 130.2 kB / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.02479, allocations: 0 / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of Templates: time 0.006634/0.03143, allocations: 3.306 MB / 388.8 MB, free: 7.43 MB / 362.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.563378571998328]